Enum Class FileStoreOrganization

java.lang.Object
java.lang.Enum<FileStoreOrganization>
org.applecommander.filestore.FileStoreOrganization
All Implemented Interfaces:
Serializable, Comparable<FileStoreOrganization>, Constable

public enum FileStoreOrganization extends Enum<FileStoreOrganization>
Indicator for the organization of the file store. If the file store is an archive, just use the archive organization. Otherwise, pick the most appropriate image type.
  • Enum Constant Details

  • Method Details

    • values

      public static FileStoreOrganization[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FileStoreOrganization valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()
    • getExtension

      public String getExtension()
    • getSectorOrder

      public SectorOrder getSectorOrder()
    • getSize

      public int getSize()
    • createSource

      public Source createSource(String fileExtension)
      Create the source object for this FileStore organization. The extension is required due to the fact that all archives are under ARCHIVE. Expected to be used directly by all archive and indirectly by all disk images.
    • createTrackSectorDevice

      public TrackSectorDevice createTrackSectorDevice()
      Create the corresponding TrackSectorDevice. The device will be formatted, which will handle the nibble images.
    • createBlockDevice

      public BlockDevice createBlockDevice()
      Create the corresponding BlockDevice.