Package android.system
Class StructStatVfs
- java.lang.Object
-
- android.system.StructStatVfs
-
public final class StructStatVfs extends Object
File information returned byOs.fstatvfs(java.io.FileDescriptor)andOs.statvfs(java.lang.String).
-
-
Field Summary
Fields Modifier and Type Field Description longf_bavailFree block count available to non-root.longf_bfreeFree block count.longf_blocksTotal block count.longf_bsizeFile system block size (used for block counts).longf_favailFree file (inode) count available to non-root.longf_ffreeFree file (inode) count.longf_filesTotal file (inode) count.longf_flagBit mask of ST_* flags.longf_frsizeFundamental file system block size.longf_fsidFile system id.longf_namemaxMaximum filename length.
-
Constructor Summary
Constructors Constructor Description StructStatVfs(long f_bsize, long f_frsize, long f_blocks, long f_bfree, long f_bavail, long f_files, long f_ffree, long f_favail, long f_fsid, long f_flag, long f_namemax)Constructs an instance with the given field values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Field Detail
-
f_bsize
public final long f_bsize
File system block size (used for block counts).
-
f_frsize
public final long f_frsize
Fundamental file system block size.
-
f_blocks
public final long f_blocks
Total block count.
-
f_bfree
public final long f_bfree
Free block count.
-
f_bavail
public final long f_bavail
Free block count available to non-root.
-
f_files
public final long f_files
Total file (inode) count.
-
f_ffree
public final long f_ffree
Free file (inode) count.
-
f_favail
public final long f_favail
Free file (inode) count available to non-root.
-
f_fsid
public final long f_fsid
File system id.
-
f_flag
public final long f_flag
Bit mask of ST_* flags.
-
f_namemax
public final long f_namemax
Maximum filename length.
-
-
Method Detail
-
toString
public String toString()
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-