public class TelnetInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUFFER_SIZE |
Constructor and Description |
---|
TelnetInputStream(InputStream in) |
TelnetInputStream(InputStream in,
int size) |
public static final int DEFAULT_BUFFER_SIZE
public TelnetInputStream(InputStream in)
public TelnetInputStream(InputStream in, int size)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buf) throws IOException
read
in class InputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void mark(int readLimit)
mark
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
Copyright © 2016. All rights reserved.