public class OSFileStore extends Object
Constructor and Description |
---|
OSFileStore()
Constructor for OSFileStore.
|
OSFileStore(OSFileStore fileStore)
Creates a copy of an OSFileStore.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Description of the File System
|
long |
getFreeInodes()
Usable / free inodes on the drive.
|
long |
getFreeSpace()
Free space on the drive.
|
String |
getLogicalVolume()
Logical volume of the File System
Provides an optional alternative volume identifier for the file system.
|
String |
getMount()
Mountpoint of the File System
|
String |
getName()
Name of the File System
|
long |
getTotalInodes()
Total / maximum number of inodes of the filesystem.
|
long |
getTotalSpace()
Total space/capacity of the drive.
|
String |
getType()
Type of the File System (FAT, NTFS, etx2, ext4, etc)
|
long |
getUsableSpace()
Usable space on the drive.
|
String |
getUUID()
UUID/GUID of the File System
|
String |
getVolume()
Volume of the File System
|
void |
setDescription(String value)
Sets the File System description
|
void |
setFreeInodes(long value)
Sets usable inodes on the drive.
|
void |
setFreeSpace(long value)
Sets free space on the drive.
|
void |
setLogicalVolume(String value)
Sets the logical volume of the File System
|
void |
setMount(String value)
Sets the mountpoint of the File System
|
void |
setName(String value)
Sets the File System name
|
void |
setTotalInodes(long value)
Sets the total / maximum number of inodes on the filesystem.
|
void |
setTotalSpace(long value)
Sets the total space on the drive.
|
void |
setType(String value)
Sets the File System type
|
void |
setUsableSpace(long value)
Sets usable space on the drive.
|
void |
setUUID(String value)
Sets the File System UUID/GUID
|
void |
setVolume(String value)
Sets the volume of the File System
|
boolean |
updateAtrributes()
Make a best effort to update all the statistics about the file store without
needing to recreate the file store list.
|
public OSFileStore()
Constructor for OSFileStore.
public OSFileStore(OSFileStore fileStore)
fileStore
- OSFileStore which is copiedpublic String getName()
public void setName(String value)
value
- The namepublic String getVolume()
public String getLogicalVolume()
public void setVolume(String value)
value
- The volumepublic void setLogicalVolume(String value)
value
- The logical volumepublic String getMount()
public void setMount(String value)
value
- The mountpointpublic String getDescription()
public void setDescription(String value)
value
- The descriptionpublic String getType()
public void setType(String value)
value
- The typepublic String getUUID()
public void setUUID(String value)
value
- The UUID/GUIDpublic long getFreeSpace()
public void setFreeSpace(long value)
value
- Bytes of free space.public long getUsableSpace()
public void setUsableSpace(long value)
value
- Bytes of writable space.public long getTotalSpace()
public void setTotalSpace(long value)
value
- Bytes of total space.public long getFreeInodes()
public void setFreeInodes(long value)
value
- Number of free inodes.public long getTotalInodes()
public void setTotalInodes(long value)
value
- Total / maximum count of inodespublic boolean updateAtrributes()
Copyright © 2010–2019 oshi. All rights reserved.