FileDocCategorySizeDatePackage
IFileSystem.javaAPI DocAndroid 1.5 API3829Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.platform

IFileSystem

public interface IFileSystem implements ISystemComponent
TODO Type description

Fields Summary
public final int
SHARED_LOCK_TYPE
public final int
EXCLUSIVE_LOCK_TYPE
public final int
SEEK_SET
public final int
SEEK_CUR
public final int
SEEK_END
public final int
O_RDONLY
public final int
O_WRONLY
public final int
O_RDWR
public final int
O_RDWRSYNC
public final int
O_APPEND
public final int
O_CREAT
public final int
O_EXCL
public final int
O_NOCTTY
public final int
O_NONBLOCK
public final int
O_TRUNC
Constructors Summary
Methods Summary
public voidclose(int fileDescriptor)

public voidfflush(int fileDescriptor, boolean metadata)

public intgetAllocGranularity()
Returns the granularity for virtual memory allocation.

public intioctlAvailable(int fileDescriptor)

public booleanlock(int fileDescriptor, long start, long length, int type, boolean waitFlag)

public intopen(byte[] fileName, int mode)

public longread(int fileDescriptor, byte[] bytes, int offset, int length)

public longreadDirect(int fileDescriptor, int address, int offset, int length)

public longreadv(int fileDescriptor, int[] addresses, int[] offsets, int[] lengths, int size)

public longseek(int fileDescriptor, long offset, int whence)

public longtransfer(int fileHandler, java.io.FileDescriptor socketDescriptor, long offset, long count)

public voidtruncate(int fileDescriptor, long size)

public longttyRead(byte[] bytes, int offset, int length)

public voidunlock(int fileDescriptor, long start, long length)

public longwrite(int fileDescriptor, byte[] bytes, int offset, int length)

public longwriteDirect(int fileDescriptor, int address, int offset, int length)

public longwritev(int fileDescriptor, int[] addresses, int[] offsets, int[] lengths, int size)