gov.nasa.pds.tools.label.parser
Class CustomAntlrInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by gov.nasa.pds.tools.label.parser.CustomAntlrInputStream
All Implemented Interfaces:
Closeable

public class CustomAntlrInputStream
extends FilterInputStream


Field Summary
protected  BufferedInputStream in
           
 
Constructor Summary
CustomAntlrInputStream(BufferedInputStream in)
           
 
Method Summary
 Integer getAttachedContentStartByte()
           
 boolean hasBlankFill()
           
 int read()
           
 int read(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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
read in class FilterInputStream
Throws:
IOException

read

public int read()
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException


Copyright © 2005-2011 Planetary Data System. All Rights Reserved.