| java.nio.channels.FileChannel org.apache.harmony.nio.internal.FileChannelImpl
All known Subclasses: org.apache.harmony.nio.internal.ReadWriteFileChannel, org.apache.harmony.nio.internal.WriteOnlyFileChannel, org.apache.harmony.nio.internal.ReadOnlyFileChannel,
Method Summary | |
protected FileLock | basicLock(long position, long size, boolean shared, boolean wait) | public void | force(boolean metadata) | public long | getHandle() | protected void | implCloseChannel() | final public FileLock | lock(long position, long size, boolean shared) | abstract public MappedByteBuffer | map(MapMode mode, long position, long size) | final protected MappedByteBuffer | mapImpl(int mapMode, long position, long size) | final protected void | openCheck() | public long | position() | public FileChannel | position(long newPosition) | public int | read(ByteBuffer buffer, long position) | public int | read(ByteBuffer buffer) | public long | read(ByteBuffer[] buffers, int offset, int length) | void | release(FileLock lock) | public long | size() | public long | transferFrom(ReadableByteChannel src, long position, long count) | public long | transferTo(long position, long count, WritableByteChannel target) | public FileChannel | truncate(long size) | final public FileLock | tryLock(long position, long size, boolean shared) | public int | write(ByteBuffer buffer, long position) | public int | write(ByteBuffer buffer) | public long | write(ByteBuffer[] buffers, int offset, int length) |
FileChannelImpl | public FileChannelImpl(Object stream, long handle)(Code) | | |
getHandle | public long getHandle()(Code) | | |
openCheck | final protected void openCheck() throws ClosedChannelException(Code) | | |
read | public long read(ByteBuffer[] buffers, int offset, int length) throws IOException(Code) | | |
write | public long write(ByteBuffer[] buffers, int offset, int length) throws IOException(Code) | | |
Methods inherited from java.nio.channels.FileChannel | abstract public void force(boolean metaData) throws IOException(Code)(Java Doc) abstract public FileLock lock(long position, long size, boolean shared) throws IOException(Code)(Java Doc) final public FileLock lock() throws IOException(Code)(Java Doc) abstract public MappedByteBuffer map(MapMode mode, long position, long size) throws IOException(Code)(Java Doc) abstract public long position() throws IOException(Code)(Java Doc) abstract public FileChannel position(long newPosition) throws IOException(Code)(Java Doc) abstract public int read(ByteBuffer dst) throws IOException(Code)(Java Doc) abstract public long read(ByteBuffer[] dsts, int offset, int length) throws IOException(Code)(Java Doc) final public long read(ByteBuffer[] dsts) throws IOException(Code)(Java Doc) abstract public int read(ByteBuffer dst, long position) throws IOException(Code)(Java Doc) abstract public long size() throws IOException(Code)(Java Doc) abstract public long transferFrom(ReadableByteChannel src, long position, long count) throws IOException(Code)(Java Doc) abstract public long transferTo(long position, long count, WritableByteChannel target) throws IOException(Code)(Java Doc) abstract public FileChannel truncate(long size) throws IOException(Code)(Java Doc) abstract public FileLock tryLock(long position, long size, boolean shared) throws IOException(Code)(Java Doc) final public FileLock tryLock() throws IOException(Code)(Java Doc) abstract public int write(ByteBuffer src) throws IOException(Code)(Java Doc) abstract public long write(ByteBuffer[] srcs, int offset, int length) throws IOException(Code)(Java Doc) final public long write(ByteBuffer[] srcs) throws IOException(Code)(Java Doc) abstract public int write(ByteBuffer src, long position) throws IOException(Code)(Java Doc)
|
|
|