Class FileSystemFactory


  • public class FileSystemFactory
    extends java.lang.Object
    This is a helper class to create different supported file systems. The file system is determined by {link PartitionTableEntry.
    • Constructor Detail

      • FileSystemFactory

        public FileSystemFactory()
    • Method Detail

      • registerFileSystem

        public static void registerFileSystem​(FileSystemCreator creator)
        Register a new file system.
        Parameters:
        creator - The creator which is able to check if a BlockDeviceDriver is holding the correct type of file system and is able to instantiate a FileSystem instance.
      • setTimeZone

        public static void setTimeZone​(java.util.TimeZone zone)
        Set the timezone a file system should use to decode timestamps, if the file system only stores local date and time and has no reference which zone these timestamp correspond to. (True for FAT32, e.g.)
        Parameters:
        zone - The timezone to use.
      • getTimeZone

        public static java.util.TimeZone getTimeZone()