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, skip
public CRLFTerminatedInputStream(InputStream in)
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public int read() throws IOException
read
in class FilterInputStream
IOException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.