public class EolCanonicalizingInputStream
extends java.io.InputStream
Constructor and Description |
---|
EolCanonicalizingInputStream(java.io.InputStream in,
boolean detectBinary)
Creates a new InputStream, wrapping the specified stream
|
public EolCanonicalizingInputStream(java.io.InputStream in, boolean detectBinary)
in
- raw input streamdetectBinary
- whether binaries should be detectedpublic int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bs, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
Copyright © 2012. All Rights Reserved.