public class CRLFTerminatedInputStream extends FilterInputStream
FilterInputStream makes sure that the last chars of the stream
are \r\n
See JAMES-1174 for an use casein| Constructor and Description |
|---|
CRLFTerminatedInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, reset, skippublic CRLFTerminatedInputStream(InputStream in)
public int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.