Package 

Interface FileSystem

  • All Implemented Interfaces:

    
    public interface FileSystem
    
                        

    This class represents a file system.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract UsbFile getRootDirectory() This method returns the root directory of the file system.
      abstract String getVolumeLabel() This method returns the name of the volume which is mostly saved in the file system.
      abstract Long getCapacity()
      abstract Long getOccupiedSpace() ATTENTION: This value can be inaccurate, depending on actual file system and certain file system specific properties.
      abstract Long getFreeSpace() ATTENTION: This value can be inaccurate, depending on actual file system and certain file system specific properties.
      abstract Integer getChunkSize()
      abstract Integer getType()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getVolumeLabel

         abstract String getVolumeLabel()

        This method returns the name of the volume which is mostly saved in the file system.

        In Windows the name of a volume is shown in the explorer before the drive letter.

      • getOccupiedSpace

         abstract Long getOccupiedSpace()

        ATTENTION: This value can be inaccurate, depending on actual file system and certain file system specific properties. Use as an estimation.

      • getFreeSpace

         abstract Long getFreeSpace()

        ATTENTION: This value can be inaccurate, depending on actual file system and certain file system specific properties. Use as an estimation.