IFileSystempublic interface IFileSystem implements ISystemComponent
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 |
Methods Summary |
---|
public void | close(int fileDescriptor)
| public void | fflush(int fileDescriptor, boolean metadata)
| public int | getAllocGranularity()Returns the granularity for virtual memory allocation.
| public int | ioctlAvailable(int fileDescriptor)
| public boolean | lock(int fileDescriptor, long start, long length, int type, boolean waitFlag)
| public int | open(byte[] fileName, int mode)
| public long | read(int fileDescriptor, byte[] bytes, int offset, int length)
| public long | readDirect(int fileDescriptor, int address, int offset, int length)
| public long | readv(int fileDescriptor, int[] addresses, int[] offsets, int[] lengths, int size)
| public long | seek(int fileDescriptor, long offset, int whence)
| public long | transfer(int fileHandler, java.io.FileDescriptor socketDescriptor, long offset, long count)
| public void | truncate(int fileDescriptor, long size)
| public long | ttyRead(byte[] bytes, int offset, int length)
| public void | unlock(int fileDescriptor, long start, long length)
| public long | write(int fileDescriptor, byte[] bytes, int offset, int length)
| public long | writeDirect(int fileDescriptor, int address, int offset, int length)
| public long | writev(int fileDescriptor, int[] addresses, int[] offsets, int[] lengths, int size)
|
|