IT. Expert System.

Android Reference

StatFs


android.os

Class StatFs



  • public class StatFs
    extends Object
    Retrieve overall information about the space on a filesystem. This is a wrapper for Unix statfs().
    • Constructor Summary

      Constructors
      Constructor and Description
      StatFs(String path)
      Construct a new StatFs for looking at the stats of the filesystem at path.
    • Constructor Detail

      • StatFs

        public StatFs(String path)
        Construct a new StatFs for looking at the stats of the filesystem at path. Upon construction, the stat of the file system will be performed, and the values retrieved available from the methods on this class.
        Parameters:
        path - path in the desired file system to stat.
    • Method Detail

      • restat

        public void restat(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.
      • getBlockSize

        public int getBlockSize()
        The size, in bytes, of a block on the file system. This corresponds to the Unix statfs.f_bsize field.
      • getBlockCount

        public int getBlockCount()
        The total number of blocks on the file system. This corresponds to the Unix statfs.f_blocks field.
      • getFreeBlocks

        public 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 getAvailableBlocks() instead.
      • getAvailableBlocks

        public 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.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 92 / 158775689. Delta: 0.05874 с