public class AutoCRLFInputStream extends InputStream
| Constructor and Description |
|---|
AutoCRLFInputStream(InputStream in,
boolean detectBinary)
Creates a new InputStream, wrapping the specified stream
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] bs,
int off,
int len) |
available, mark, markSupported, read, reset, skippublic AutoCRLFInputStream(InputStream in, boolean detectBinary)
in - raw input streamdetectBinary - whether binaries should be detectedpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bs,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2014. All rights reserved.