Methods Summary |
---|
protected final java.nio.channels.FileLock | basicLock(long position, long size, boolean shared, boolean wait)
if (shared) {
throw new NonReadableChannelException();
}
return super.basicLock(position, size, shared, wait);
|
public java.nio.MappedByteBuffer | map(MapMode mode, long position, long size)
openCheck();
if (mode == null) {
throw new NullPointerException();
}
if (position < 0 || size < 0 || size > Integer.MAX_VALUE) {
throw new IllegalArgumentException();
}
throw new NonReadableChannelException();
|
public long | position()
return append ? size() : super.position();
|
public long | read(java.nio.ByteBuffer[] buffers, int offset, int length)
if (offset < 0 || length < 0 || offset + length > buffers.length) {
throw new IndexOutOfBoundsException();
}
openCheck();
throw new NonReadableChannelException();
|
public int | read(java.nio.ByteBuffer buffer)
openCheck();
throw new NonReadableChannelException();
|
public int | read(java.nio.ByteBuffer buffer, long position)
if (null == buffer) {
throw new NullPointerException();
}
if (position < 0){
throw new IllegalArgumentException();
}
throw new NonReadableChannelException();
|
public long | transferTo(long position, long count, java.nio.channels.WritableByteChannel target)
openCheck();
if (!target.isOpen()) {
throw new ClosedChannelException();
}
throw new NonReadableChannelException();
|
public int | write(java.nio.ByteBuffer buffer)
if (append) {
position(size());
}
return super.write(buffer);
|