Class FileChannelSupplier
java.lang.Object
org.newsclub.net.unix.FileChannelSupplier
- All Implemented Interfaces:
AFIOSupplier<FileChannel>
- Direct Known Subclasses:
FileChannelSupplier.ReadOnly, FileChannelSupplier.ReadWrite, FileChannelSupplier.WriteOnly
Supplies a FileChannel with certain properties (read-only, write-only, read-write); to be used
mostly with
FileDescriptorCast.- Author:
- Christian Kohlschütter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSupplies a read-onlyFileChannel.static final classSupplies a read-writeFileChannel.static final classSupplies a write-onlyFileChannel. -
Method Summary
-
Method Details
-
get
Description copied from interface:AFIOSupplierGets a result.- Specified by:
getin interfaceAFIOSupplier<FileChannel>- Returns:
- a result
- Throws:
IOException- on error.
-