Package gov.nasa.pds.tools.label.parser
Class CustomAntlrInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- gov.nasa.pds.tools.label.parser.CustomAntlrInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class CustomAntlrInputStream extends FilterInputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferedInputStreamin
-
Constructor Summary
Constructors Constructor Description CustomAntlrInputStream(BufferedInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAttachedContentStartByte()booleanhasBlankFill()intread()intread(byte[] b, int off, int len)-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Field Detail
-
in
protected volatile BufferedInputStream in
-
-
Constructor Detail
-
CustomAntlrInputStream
public CustomAntlrInputStream(BufferedInputStream in)
-
-
Method Detail
-
getAttachedContentStartByte
public Integer getAttachedContentStartByte()
-
hasBlankFill
public boolean hasBlankFill()
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read() throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
-