org.jopendocument.util.io
Class DataInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.jopendocument.util.io.DataInputStream
All Implemented Interfaces:
Closeable

public class DataInputStream
extends FilterInputStream


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
DataInputStream(InputStream in)
           
DataInputStream(InputStream in, Boolean littleEndian)
           
 
Method Summary
 int readInt()
           
 int readInt(boolean littleEndian)
           
 short readShort()
           
 short readShort(boolean littleEndian)
           
 void setLittleEndian(Boolean littleEndian)
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataInputStream

public DataInputStream(InputStream in)

DataInputStream

public DataInputStream(InputStream in,
                       Boolean littleEndian)
Method Detail

setLittleEndian

public final void setLittleEndian(Boolean littleEndian)

readInt

public final int readInt()
                  throws IOException
Throws:
IOException

readInt

public int readInt(boolean littleEndian)
            throws IOException
Throws:
IOException

readShort

public final short readShort()
                      throws IOException
Throws:
IOException

readShort

public short readShort(boolean littleEndian)
                throws IOException
Throws:
IOException


Copyright © 2010 jOpenDocument All Rights Reserved.