Class GamedosFileStoreFactory
java.lang.Object
org.applecommander.os.gamedos.GamedosFileStoreFactory
- All Implemented Interfaces:
FileStoreFactory, GamedosConstants
-
Nested Class Summary
Nested classes/interfaces inherited from interface FileStoreFactory
FileStoreFactory.Context, FileStoreFactory.Level, FileStoreFactory.Message -
Field Summary
FieldsFields inherited from interface GamedosConstants
CAPABILITIES, DIRECTORY_SECTOR, DIRECTORY_SIZE, DIRECTORY_TRACK, ENTRY_META_OFFSET, ENTRY_NAME_LENGTH, ENTRY_NAME_OFFSET, ENTRY_SECTOR_OFFSET, ENTRY_SECTORS_OFFSET, ENTRY_SIZE, ENTRY_TRACK_OFFSET, ENTRY_TYPE_OFFSET, MARKER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck(TrackSectorDevice device) create(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
-
VALID_ORGANIZATIONS
-
-
Constructor Details
-
GamedosFileStoreFactory
public GamedosFileStoreFactory()
-
-
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 GamedosFileStore create(FileStoreOrganization fileStoreOrganization, Map<String, ConfigurationOption> options) Description copied from interface:FileStoreFactoryCreate aFileStoreusing the given configuration settings.- Specified by:
createin interfaceFileStoreFactory- See Also:
-
check
-