org.apache.commons.ssl.asn1
Class IndefiniteLengthInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.apache.commons.ssl.asn1.LimitedInputStream
          extended byorg.apache.commons.ssl.asn1.IndefiniteLengthInputStream

class IndefiniteLengthInputStream
extends LimitedInputStream


Field Summary
private  int _b1
           
private  int _b2
           
private  boolean _eofOn00
           
private  boolean _eofReached
           
protected  InputStream _in
           
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
(package private) IndefiniteLengthInputStream(InputStream in)
           
 
Method Summary
(package private)  boolean checkForEof()
           
(package private)  InputStream getUnderlyingStream()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
(package private)  void setEofOn00(boolean eofOn00)
           
protected  void setParentEofDetect(boolean on)
           
 
Methods inherited from class java.io.InputStream
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

_b1

private int _b1

_b2

private int _b2

_eofReached

private boolean _eofReached

_eofOn00

private boolean _eofOn00

_in

protected final InputStream _in
Constructor Detail

IndefiniteLengthInputStream

IndefiniteLengthInputStream(InputStream in)
                      throws IOException
Method Detail

setEofOn00

void setEofOn00(boolean eofOn00)

checkForEof

boolean checkForEof()

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Throws:
IOException

read

public int read()
         throws IOException
Throws:
IOException

getUnderlyingStream

InputStream getUnderlyingStream()

setParentEofDetect

protected void setParentEofDetect(boolean on)