Uses of Class
java.nio.channels.FileChannel
Packages that use FileChannel
Package
Description
The main API package for XNIO.
The core XNIO channel API.
The XNIO conduit SPI.
-
Uses of FileChannel in java.nio.channels
Methods in java.nio.channels that return FileChannelModifier and TypeMethodDescriptionstatic FileChannelFileChannel.open(Path path, OpenOption... options) abstract FileChannelFileChannel.position(long newPosition) abstract FileChannelFileChannel.truncate(long size) -
Uses of FileChannel in org.xnio
Methods in org.xnio that return FileChannelModifier and TypeMethodDescriptionXnio.openFile(File file, FileAccess access) Open a file on the filesystem.Open a file on the filesystem.Xnio.openFile(String fileName, FileAccess access) Open a file on the filesystem.Open a file on the filesystem.protected FileChannelXnio.unwrapFileChannel(FileChannel src) Unwrap an XNIO-wrapped file channel.Methods in org.xnio with parameters of type FileChannelModifier and TypeMethodDescriptionstatic <T extends StreamSourceChannel>
ChannelListener<T>ChannelListeners.fileReceivingChannelListener(FileChannel target, long position, long count, ChannelListener<? super T> delegate, ChannelExceptionHandler<? super T> exceptionHandler) A file-receiving channel listener.static <T extends StreamSinkChannel>
ChannelListener<T>ChannelListeners.fileSendingChannelListener(FileChannel source, long position, long count, ChannelListener<? super T> delegate, ChannelExceptionHandler<? super T> exceptionHandler) A file-sending channel listener.protected FileChannelXnio.unwrapFileChannel(FileChannel src) Unwrap an XNIO-wrapped file channel. -
Uses of FileChannel in org.xnio.channels
Methods in org.xnio.channels with parameters of type FileChannelModifier and TypeMethodDescriptionstatic longChannels.drain(FileChannel channel, long position, long count) Attempt to drain the given number of bytes from the file channel.static voidChannels.transferBlocking(FileChannel destination, StreamSourceChannel source, long startPosition, long count) Transfer bytes between two channels efficiently, blocking if necessary.static voidChannels.transferBlocking(StreamSinkChannel destination, FileChannel source, long startPosition, long count) Transfer bytes between two channels efficiently, blocking if necessary.longAssembledStreamChannel.transferFrom(FileChannel src, long position, long count) longFixedLengthStreamSinkChannel.transferFrom(FileChannel src, long position, long count) longNullStreamSinkChannel.transferFrom(FileChannel src, long position, long count) longSplitStreamSinkChannel.transferFrom(FileChannel src, long position, long count) longStreamSinkChannel.transferFrom(FileChannel src, long position, long count) Transfer bytes into this channel from the given file.longAssembledStreamChannel.transferTo(long position, long count, FileChannel target) longEmptyStreamSourceChannel.transferTo(long position, long count, FileChannel target) longFixedLengthStreamSourceChannel.transferTo(long position, long count, FileChannel target) longPushBackStreamChannel.transferTo(long position, long count, FileChannel target) longSplitStreamSourceChannel.transferTo(long position, long count, FileChannel target) longStreamSourceChannel.transferTo(long position, long count, FileChannel target) Transfers bytes into the given file from this channel. -
Uses of FileChannel in org.xnio.conduits
Methods in org.xnio.conduits with parameters of type FileChannelModifier and TypeMethodDescriptionlongAbstractStreamSinkConduit.transferFrom(FileChannel src, long position, long count) longBlockingStreamSinkConduit.transferFrom(FileChannel src, long position, long count) longBufferedStreamSinkConduit.transferFrom(FileChannel src, long position, long count) longConduitStreamSinkChannel.transferFrom(FileChannel src, long position, long count) longDeflatingStreamSinkConduit.transferFrom(FileChannel src, long position, long count) longFixedLengthStreamSinkConduit.transferFrom(FileChannel src, long position, long count) longMessageStreamSinkConduit.transferFrom(FileChannel src, long position, long count) longNullStreamSinkConduit.transferFrom(FileChannel src, long position, long count) longStreamSinkChannelWrappingConduit.transferFrom(FileChannel src, long position, long count) longStreamSinkConduit.transferFrom(FileChannel src, long position, long count) Transfer bytes into this conduit from the given file.longSynchronizedStreamSinkConduit.transferFrom(FileChannel src, long position, long count) longAbstractStreamSourceConduit.transferTo(long position, long count, FileChannel target) longBlockingStreamSourceConduit.transferTo(long position, long count, FileChannel target) longBufferedStreamSourceConduit.transferTo(long position, long count, FileChannel target) longConduitStreamSourceChannel.transferTo(long position, long count, FileChannel target) longEmptyStreamSourceConduit.transferTo(long position, long count, FileChannel target) longFixedLengthStreamSourceConduit.transferTo(long position, long count, FileChannel target) longInflatingStreamSourceConduit.transferTo(long position, long count, FileChannel target) longMessageStreamSourceConduit.transferTo(long position, long count, FileChannel target) longPushBackStreamSourceConduit.transferTo(long position, long count, FileChannel target) longStreamSourceChannelWrappingConduit.transferTo(long position, long count, FileChannel target) longStreamSourceConduit.transferTo(long position, long count, FileChannel target) Transfers bytes into the given file from this channel.longSynchronizedStreamSourceConduit.transferTo(long position, long count, FileChannel target)