java.nio.file.attribute
Interface FileStoreSpaceAttributes


public interface FileStoreSpaceAttributes

Disabled: no SafeJ information.

Space related attributes of a file store.

Since:
1.7
See Also:
Attributes.readFileStoreSpaceAttributes(java.nio.file.FileStore)

Method Summary
 long totalSpace()
          Returns the size, in bytes, of the file store.
 long unallocatedSpace()
          Returns the number of unallocated bytes in the file store.
 long usableSpace()
          Returns the number of bytes available to this Java virtual machine on the file store.
 

Method Detail

totalSpace

long totalSpace()
Class is disabled.

Returns the size, in bytes, of the file store.


usableSpace

long usableSpace()
Class is disabled.

Returns the number of bytes available to this Java virtual machine on the file store.

The returned number of available bytes is a hint, but not a guarantee, that it is possible to use most or any of these bytes. The number of usable bytes is most likely to be accurate immediately after the space attributes are obtained. It is likely to be made inaccurate by any external I/O operations including those made on the system outside of this Java virtual machine.


unallocatedSpace

long unallocatedSpace()
Class is disabled.

Returns the number of unallocated bytes in the file store.

The returned number of unallocated bytes is a hint, but not a guarantee, that it is possible to use most or any of these bytes. The number of unallocated bytes is most likely to be accurate immediately after the space attributes are obtained. It is likely to be made inaccurate by any external I/O operations including those made on the system outside of this virtual machine.