Class FileStores

java.lang.Object
org.applecommander.filestore.FileStores

public class FileStores extends Object

FileStores is the factory mechanism to identify and work with Apple II images. The FileStore interface it intended to support both archive and disk images.

Example usage:

Source source = Sources.create("filename.po").orElseThrow();
DiskFactory.Context ctx = FileStores.inspect(source);

On return, the Context will contain any discovered FileSources. It also contains the Source used and if a NibbleTrackReaderWriter was found.

  • Constructor Details

    • FileStores

      public FileStores()
  • Method Details

    • inspect

      public static FileStoreFactory.Context inspect(Source source)
      Standardized FileStore creation. Uses the ServiceLoader mechanism to identify all potential FileStore factories.