Closeable, AutoCloseablepublic class AutoCRLFInputStream extends InputStream
| Constructor | Description |
|---|---|
AutoCRLFInputStream(InputStream in,
boolean detectBinary) |
Creates a new InputStream, wrapping the specified stream
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
int |
read() |
|
int |
read(byte[] bs,
int off,
int len) |
available, mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferTopublic 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 AutoCloseableclose in interface Closeableclose in class InputStreamIOExceptionCopyright © 2018. All rights reserved.