com.faunos.util.io
Class CloseProtectedFileChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.FileChannel
com.faunos.util.io.FilterFileChannel
com.faunos.util.io.CloseProtectedFileChannel
- All Implemented Interfaces:
- Closeable, ByteChannel, Channel, GatheringByteChannel, InterruptibleChannel, ReadableByteChannel, ScatteringByteChannel, WritableByteChannel
- Direct Known Subclasses:
- SubFileChannel
public class CloseProtectedFileChannel
- extends FilterFileChannel
A FilterFileChannel
that does not chain the
close
method to the underlying file channel.
- Author:
- Babak Farhang
- See Also:
implCloseChannel()
Methods inherited from class com.faunos.util.io.FilterFileChannel |
checkReadAccess, checkWriteAccess, force, implCreateFileLock, lock, map, position, position, read, read, read, size, transferFrom, transferTo, truncate, tryLock, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloseProtectedFileChannel
public CloseProtectedFileChannel(FileChannel inner)
implCloseChannel
protected void implCloseChannel()
throws IOException
- Does nothing.
- Overrides:
implCloseChannel
in class FilterFileChannel
- Throws:
IOException