org.apache.sanselan.common
Class BitInputStreamFlexible

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.sanselan.common.BitInputStreamFlexible
All Implemented Interfaces:
java.io.Closeable, BinaryConstants

public class BitInputStreamFlexible
extends java.io.InputStream
implements BinaryConstants


Field Summary
 
Fields inherited from interface org.apache.sanselan.common.BinaryConstants
BYTE_ORDER_BIG_ENDIAN, BYTE_ORDER_INTEL, BYTE_ORDER_LEAST_SIGNIFICANT_BYTE, BYTE_ORDER_LITTLE_ENDIAN, BYTE_ORDER_LSB, BYTE_ORDER_MOST_SIGNIFICANT_BYTE, BYTE_ORDER_MOTOROLA, BYTE_ORDER_MSB, BYTE_ORDER_NETWORK
 
Constructor Summary
BitInputStreamFlexible(java.io.InputStream is)
           
 
Method Summary
 void flushCache()
           
 long getBytesRead()
           
 int read()
           
 int readBits(int count)
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitInputStreamFlexible

public BitInputStreamFlexible(java.io.InputStream is)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

readBits

public final int readBits(int count)
                   throws java.io.IOException
Throws:
java.io.IOException

flushCache

public void flushCache()

getBytesRead

public long getBytesRead()


Copyright © 2007-2009. All Rights Reserved.