org.apache.activemq.transport.nio
public class NIOBufferedInputStream extends java.io.InputStream
Constructor and Description |
---|
NIOBufferedInputStream(java.nio.channels.ReadableByteChannel channel) |
NIOBufferedInputStream(java.nio.channels.ReadableByteChannel channel,
int size) |
public NIOBufferedInputStream(java.nio.channels.ReadableByteChannel channel, int size) throws java.nio.channels.ClosedChannelException, java.io.IOException
java.nio.channels.ClosedChannelException
java.io.IOException
public NIOBufferedInputStream(java.nio.channels.ReadableByteChannel channel) throws java.nio.channels.ClosedChannelException, java.io.IOException
java.nio.channels.ClosedChannelException
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
Copyright © 2005-2014. All Rights Reserved.