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, skip
public AutoCRLFInputStream(InputStream in, boolean detectBinary)
in
- raw input streamdetectBinary
- whether binaries should be detectedpublic int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] bs, int off, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2015 Eclipse JGit Project. All rights reserved.