|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileStoreSpaceAttributeView
Disabled: no SafeJ information.
A file store attribute view that supports reading of space attributes.
Where dynamic access to file attributes is required, the attributes supported by this attribute view have the following names and types:
Name Type "totalSpace" Long
"usableSpace" Long
"unallocatedSpace" Long
The getAttribute
method may
be used to read any of these attributes.
Method Summary | |
---|---|
String |
name()
Returns the name of the attribute view. |
FileStoreSpaceAttributes |
readAttributes()
Reads the disk space attributes as a bulk operation. |
Method Detail |
---|
String name()
"space"
.
name
in interface AttributeView
FileStoreSpaceAttributes readAttributes() throws IOException
It is file system specific if all attributes are read as an atomic operation with respect to other file system operations.
IOException
- If an I/O error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |