Class AppleArchiveFormatFileStore

java.lang.Object
org.applecommander.change.ChangeRegistry<FileStore.FileStoreChangeEvent>
org.applecommander.archive.aaf.AppleArchiveFormatFileStore
All Implemented Interfaces:
CapabilityProvider, ChangeSource<FileStore.FileStoreChangeEvent>, FileStore, Container, InformationProvider

public class AppleArchiveFormatFileStore extends ChangeRegistry<FileStore.FileStoreChangeEvent> implements FileStore
  • Constructor Details

    • AppleArchiveFormatFileStore

      public AppleArchiveFormatFileStore(Source source)
  • Method Details

    • parseContents

      public void parseContents()
    • getType

      public String getType()
      Get the type of file store. This is a generic name, such as "RDOS 2.1" or "ShrinkIt".
      Specified by:
      getType in interface FileStore
    • getLabel

      public String getLabel()
      The label is a mechanism to distinguish multiple file stores in a single file. For instance, UniDOS has two file stores in the file, so it would have two different labels such as "Disk 1" and "Disk 2".
      Specified by:
      getLabel in interface FileStore
    • getRootDirectory

      public Directory getRootDirectory()
      All FileStores support a "root" directory that references all files.
      Specified by:
      getRootDirectory in interface FileStore
    • getPathSeparator

      public String getPathSeparator()
      This is the path separator character.
      Specified by:
      getPathSeparator in interface FileStore
    • getDisplayColumns

      public List<DisplayColumn> getDisplayColumns()
      Yields a list of columns to be used in this display mode.
      Specified by:
      getDisplayColumns in interface FileStore
    • can

      public boolean can(Capability capability)
      Description copied from interface: CapabilityProvider
      Helps identify capabilities of the existing component.
      Specified by:
      can in interface CapabilityProvider
    • get

      public <T> Optional<T> get(Class<T> iface)
      Specified by:
      get in interface Container
    • information

      public List<InformationGroup> information()
      Specified by:
      information in interface InformationProvider