Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileStoreSpaceAttributeView extends FileStoreAttributeView
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.
Modifier and Type | Method and Description |
---|---|
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
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.