|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
gnu.inet.util.CRLFInputStream
public class CRLFInputStream
An input stream that filters out CR/LF pairs into LFs.
| Field Summary | |
|---|---|
static int |
CR
The CR octet. |
protected java.io.InputStream |
in
The underlying input stream. |
static int |
LF
The LF octet. |
| Constructor Summary | |
|---|---|
CRLFInputStream(java.io.InputStream in)
Constructs a CR/LF input stream connected to the specified input stream. |
|
| Method Summary | |
|---|---|
int |
read()
Reads the next byte of data from this input stream. |
int |
read(byte[] b)
Reads up to b.length bytes of data from this input stream into an array of bytes. |
int |
read(byte[] b,
int off,
int len)
Reads up to len bytes of data from this input stream into an array of bytes, starting at the specified offset. |
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CR
public static final int LF
protected java.io.InputStream in
| Constructor Detail |
|---|
public CRLFInputStream(java.io.InputStream in)
| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - if an I/O error occurs
public int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - if an I/O error occurs
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - if an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||