org.cyberiantiger.telnet
Class TelnetBufferedInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.cyberiantiger.telnet.TelnetBufferedInputStream
- public class TelnetBufferedInputStream
- extends java.io.FilterInputStream
A buffered input stream which will not do a blocking read unless explictely
told to do so
| Fields inherited from class java.io.FilterInputStream |
in |
| Methods inherited from class java.io.FilterInputStream |
close, mark, markSupported, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TelnetBufferedInputStream
public TelnetBufferedInputStream(java.io.InputStream in)
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b,
int bOff,
int bLen)
throws java.io.IOException
- Throws:
java.io.IOException
fillBuffer
public void fillBuffer()
throws java.io.IOException
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Throws:
java.io.IOException
setAllowBlocking
public void setAllowBlocking(boolean allowBlocking)
Copyright © 2003 OSJava. All Rights Reserved.