Class ZipFileStoreFactory
java.lang.Object
org.applecommander.archive.zip.ZipFileStoreFactory
- All Implemented Interfaces:
FileStoreFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface FileStoreFactory
FileStoreFactory.Context, FileStoreFactory.Level, FileStoreFactory.Message -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(FileStoreOrganization fileStoreOrganization, Map<String, ConfigurationOption> options) Create aFileStoreusing the given configuration settings.The supported organizations forFileStorecreation.getName()The name of this factory.voidInspect the givenSource, storing any results or messages in the context.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FileStoreFactory
getConfigurationOptions
-
Field Details
-
ZIP_SIGNATURE
public static final int ZIP_SIGNATURE- See Also:
-
VALID_ORGANIZATIONS
-
-
Constructor Details
-
ZipFileStoreFactory
public ZipFileStoreFactory()
-
-
Method Details
-
getName
Description copied from interface:FileStoreFactoryThe name of this factory. Usually the name and file extensions.- Specified by:
getNamein interfaceFileStoreFactory
-
inspect
Description copied from interface:FileStoreFactoryInspect the givenSource, storing any results or messages in the context.- Specified by:
inspectin interfaceFileStoreFactory
-
getFileStoreOrganizations
Description copied from interface:FileStoreFactoryThe supported organizations forFileStorecreation. Note that this isn't particularly useful for archives, so there is a generic "archive" organization. For disk images, this will typically orient around the physical device including sector ordering, if applicable.- Specified by:
getFileStoreOrganizationsin interfaceFileStoreFactory
-
create
public ZipFileStore create(FileStoreOrganization fileStoreOrganization, Map<String, ConfigurationOption> options) Description copied from interface:FileStoreFactoryCreate aFileStoreusing the given configuration settings.- Specified by:
createin interfaceFileStoreFactory- See Also:
-