java.lang.Object
oshi.software.common.AbstractFileSystem
- All Implemented Interfaces:
FileSystem
- Direct Known Subclasses:
AixFileSystem
,FreeBsdFileSystem
,LinuxFileSystem
,MacFileSystem
,OpenBsdFileSystem
,SolarisFileSystem
,WindowsFileSystem
Common methods for filesystem implementations
-
Field Summary
Modifier and TypeFieldDescriptionFileSystem types which are network-based and should be excluded from local-only lists -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet file stores on this machine Instantiates a list ofOSFileStore
objects, representing a storage pool, device, partition, volume, concrete file system or other implementation specific means of file storage.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface oshi.software.os.FileSystem
getFileStores, getMaxFileDescriptors, getMaxFileDescriptorsPerProcess, getOpenFileDescriptors
-
Field Details
-
NETWORK_FS_TYPES
FileSystem types which are network-based and should be excluded from local-only lists -
PSEUDO_FS_TYPES
-
-
Constructor Details
-
AbstractFileSystem
public AbstractFileSystem()
-
-
Method Details
-
getFileStores
Description copied from interface:FileSystem
Get file stores on this machine Instantiates a list ofOSFileStore
objects, representing a storage pool, device, partition, volume, concrete file system or other implementation specific means of file storage.- Specified by:
getFileStores
in interfaceFileSystem
- Returns:
- A list of
OSFileStore
objects or an empty array if none are present.
-