-
- All Implemented Interfaces:
public interface FileSystemThis class represents a file system.
-
-
Method Summary
Modifier and Type Method Description abstract UsbFilegetRootDirectory()This method returns the root directory of the file system. abstract StringgetVolumeLabel()This method returns the name of the volume which is mostly saved in the file system. abstract LonggetCapacity()abstract LonggetOccupiedSpace()ATTENTION: This value can be inaccurate, depending on actual file system and certain file system specific properties. abstract LonggetFreeSpace()ATTENTION: This value can be inaccurate, depending on actual file system and certain file system specific properties. abstract IntegergetChunkSize()abstract IntegergetType()-
-
Method Detail
-
getRootDirectory
abstract UsbFile getRootDirectory()
This method returns the root directory of the file system.
-
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.
-
getCapacity
abstract Long getCapacity()
-
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.
-
getChunkSize
abstract Integer getChunkSize()
-
-
-
-