org.apache.commons.ssl.util
Class ReadLine
java.lang.Object
org.apache.commons.ssl.util.ReadLine
- Direct Known Subclasses:
- ByteArrayReadLine
public class ReadLine
- extends Object
- Author:
- Julius Davies, 23-Dec-2007
Field Summary |
(package private) int |
avail
|
(package private) byte[] |
bytes
|
(package private) InputStream |
in
|
(package private) int |
pos
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
final InputStream in
bytes
final byte[] bytes
pos
int pos
avail
int avail
ReadLine
public ReadLine(InputStream in)
next
public String next()
throws IOException
- Throws:
IOException
next
public String next(int lines)
throws IOException
- Throws:
IOException
nextAsBytes
public byte[] nextAsBytes()
throws IOException
- Throws:
IOException
nextAsBytes
public byte[] nextAsBytes(int lines)
throws IOException
- Throws:
IOException