public class CRLFInputStream extends FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
static int |
CR
The CR octet.
|
static int |
LF
The LF octet.
|
in| Constructor and Description |
|---|
CRLFInputStream(InputStream in)
Constructs a CR/LF input stream connected to the specified input
stream.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
available, close, mark, markSupported, reset, skippublic static final int CR
public static final int LF
public CRLFInputStream(InputStream in)
public int read()
throws IOException
read in class FilterInputStreamIOException - if an I/O error occurspublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOException - if an I/O error occurspublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOException - if an I/O error occursCopyright © 2017. All rights reserved.