public class DefaultFileSystemProps extends java.lang.Object implements FileSystemProps
| Constructor and Description |
|---|
DefaultFileSystemProps(long totalSpace,
long unallocatedSpace,
long usableSpace) |
| Modifier and Type | Method and Description |
|---|---|
long |
totalSpace()
The total space on the file system, in bytes
|
long |
unallocatedSpace()
The total un-allocated space on the file system, in bytes
|
long |
usableSpace()
The total usable space on the file system, in bytes
|
public DefaultFileSystemProps(long totalSpace,
long unallocatedSpace,
long usableSpace)
public long totalSpace()
FileSystemPropstotalSpace in interface FileSystemPropspublic long unallocatedSpace()
FileSystemPropsunallocatedSpace in interface FileSystemPropspublic long usableSpace()
FileSystemPropsusableSpace in interface FileSystemProps