|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.os.StatFs
public class StatFs
Retrieve overall information about the space on a filesystem. This is a Wrapper for Unix statfs().
| Constructor Summary | |
|---|---|
StatFs(String path)
Construct a new StatFs for looking at the stats of the filesystem at path. |
|
| Method Summary | |
|---|---|
protected void |
finalize()
Called by the virtual machine when there are no longer any (non-weak) references to the receiver. |
int |
getAvailableBlocks()
The number of blocks that are free on the file system and available to applications. |
int |
getBlockCount()
The total number of blocks on the file system. |
int |
getBlockSize()
The size, in bytes, of a block on the file system. |
int |
getFreeBlocks()
The total number of blocks that are free on the file system, including reserved blocks (that are not available to normal applications). |
void |
restat(String path)
Perform a restat of the file system referenced by this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatFs(String path)
path - A path in the desired file system to state.| Method Detail |
|---|
public void restat(String path)
protected void finalize()
ObjectNote: The virtual machine assumes that the implementation in class Object is empty.
finalize in class Objectpublic int getBlockSize()
public int getBlockCount()
public int getFreeBlocks()
getAvailableBlocks() instead.
public int getAvailableBlocks()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||