Package oshi.software.common
Class AbstractOSFileStore
java.lang.Object
oshi.software.common.AbstractOSFileStore
- All Implemented Interfaces:
OSFileStore
- Direct Known Subclasses:
AixOSFileStore
,FreeBsdOSFileStore
,LinuxOSFileStore
,MacOSFileStore
,OpenBsdOSFileStore
,SolarisOSFileStore
,WindowsOSFileStore
Common implementations for OSFileStore
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface oshi.software.os.OSFileStore
getDescription, getFreeInodes, getFreeSpace, getLogicalVolume, getTotalInodes, getTotalSpace, getType, getUsableSpace, updateAttributes
-
Constructor Details
-
AbstractOSFileStore
-
AbstractOSFileStore
protected AbstractOSFileStore()
-
-
Method Details
-
getName
Description copied from interface:OSFileStore
Name of the File System- Specified by:
getName
in interfaceOSFileStore
- Returns:
- The file system name
-
getVolume
Description copied from interface:OSFileStore
Volume name of the File System- Specified by:
getVolume
in interfaceOSFileStore
- Returns:
- The volume name of the file system
-
getLabel
Description copied from interface:OSFileStore
Label of the File System- Specified by:
getLabel
in interfaceOSFileStore
- Returns:
- The volume label of the file system. Only relevant on Windows and on Linux, if assigned; otherwise defaults to the FileSystem name. On other operating systems is redundant with the name.
-
getMount
Description copied from interface:OSFileStore
Mountpoint of the File System- Specified by:
getMount
in interfaceOSFileStore
- Returns:
- The mountpoint of the file system
-
getOptions
Description copied from interface:OSFileStore
Filesystem options- Specified by:
getOptions
in interfaceOSFileStore
- Returns:
- A comma-deimited string of options
-
getUUID
Description copied from interface:OSFileStore
UUID/GUID of the File System- Specified by:
getUUID
in interfaceOSFileStore
- Returns:
- The file system UUID/GUID
-
toString
-