Methods Summary |
---|
protected void | finalize() native_finalize();
|
public native int | getAvailableBlocks()The number of blocks that are free on the file system and available to
applications. This corresponds to the Unix statfs.f_bavail field.
|
public native int | getBlockCount()The total number of blocks on the file system. This corresponds
to the Unix statfs.f_blocks field.
|
public native int | getBlockSize()The size, in bytes, of a block on the file system. This corresponds
to the Unix statfs.f_bsize field.
|
public native int | getFreeBlocks()The total number of blocks that are free on the file system, including
reserved blocks (that are not available to normal applications). This
corresponds to the Unix statfs.f_bfree field. Most applications will
want to use {@link #getAvailableBlocks()} instead.
|
private native void | native_finalize()
|
private native void | native_restat(java.lang.String path)
|
private native void | native_setup(java.lang.String path)
|
public void | restat(java.lang.String path)Perform a restat of the file system referenced by this object. This
is the same as re-constructing the object with the same file system
path, and the new stat values are available upon return. native_restat(path);
|