Module
Package org.xnio.streams
Utility classes for creating streams which use XNIO channels.
-
Interface Summary Interface Description BufferPipeInputStream.InputHandler A handler for events relating to the consumption of data from aBufferPipeInputStream
instance.BufferPipeOutputStream.BufferWriter A buffer writer for anBufferPipeOutputStream
. -
Class Summary Class Description BufferedChannelInputStream An input stream which reads from a stream source channel with a buffer.BufferPipeInputStream AnInputStream
implementation which is populated asynchronously withByteBuffer
instances.BufferPipeOutputStream AnOutputStream
implementation which writes outByteBuffer
s to a consumer.ChannelInputStream An input stream which reads from a stream source channel.ChannelOutputStream An output stream which writes to a stream sink channel.LimitedInputStream An input stream which truncates the underlying stream to the given length.LimitedOutputStream An output stream which truncates the writable output to the given length.Pipe An in-VM pipe between an input stream and an output stream, which does not suffer from the bugs inPipedInputStream
.ReaderInputStream An input stream which encodes characters into bytes.Streams Stream utility class.WriterOutputStream An output stream which decodes bytes into a character writer.