Top Description Classes
[default module]

Package org.xnio.streams


Utility classes for creating streams which use XNIO channels.

Class Summary

Modifier and TypeClass and Description
public class
BufferedChannelInputStream

An input stream which reads from a stream source channel with a buffer.

public class
BufferPipeInputStream

An InputStream implementation which is populated asynchronously with ByteBuffer instances.

public class
BufferPipeOutputStream

An OutputStream implementation which writes out ByteBuffers to a consumer.

public class
ChannelInputStream

An input stream which reads from a stream source channel.

public class
ChannelOutputStream

An output stream which writes to a stream sink channel.

public class
LimitedInputStream

An input stream which truncates the underlying stream to the given length.

public class
LimitedOutputStream

An output stream which truncates the writable output to the given length.

public class
Pipe

An in-VM pipe between an input stream and an output stream, which does not suffer from the bugs in PipedInputStream.

public class
ReaderInputStream

An input stream which encodes characters into bytes.

public class
Streams

Stream utility class.

public class
WriterOutputStream

An output stream which decodes bytes into a character writer.