jxUtil 0.6

org.sourceforge.jxutil.io
Class DataInputStreamLE

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.FilterInputStream
              |
              +--org.sourceforge.jxutil.io.DataInputStreamLE
All Implemented Interfaces:
DataInput

public final class DataInputStreamLE
extends FilterInputStream
implements DataInput

A data input stream that uses Little Endian semantics.

See Also:
DataInputStream

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
DataInputStreamLE(InputStream in)
           
 
Method Summary
 boolean readBoolean()
           
 byte readByte()
           
 char readChar()
           
 double readDouble()
           
 float readFloat()
           
 void readFully(byte[] buf)
           
 void readFully(byte[] buf, int off, int len)
           
 int readInt()
           
 String readLine()
           
 long readLong()
           
 short readShort()
           
 int readUnsignedByte()
           
 int readUnsignedShort()
           
 String readUTF()
           
 int skipBytes(int num)
           
 
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

DataInputStreamLE

public DataInputStreamLE(InputStream in)
Method Detail

readBoolean

public final boolean readBoolean()
                          throws IOException
Specified by:
readBoolean in interface DataInput
IOException

readByte

public final byte readByte()
                    throws IOException
Specified by:
readByte in interface DataInput
IOException

readChar

public final char readChar()
                    throws IOException
Specified by:
readChar in interface DataInput
IOException

readDouble

public final double readDouble()
                        throws IOException
Specified by:
readDouble in interface DataInput
IOException

readFloat

public final float readFloat()
                      throws IOException
Specified by:
readFloat in interface DataInput
IOException

readFully

public final void readFully(byte[] buf)
                     throws IOException
Specified by:
readFully in interface DataInput
IOException

readFully

public final void readFully(byte[] buf,
                            int off,
                            int len)
                     throws IOException
Specified by:
readFully in interface DataInput
IOException

readInt

public final int readInt()
                  throws IOException
Specified by:
readInt in interface DataInput
IOException

readLine

public final String readLine()
                      throws IOException
Specified by:
readLine in interface DataInput
IOException

readLong

public final long readLong()
                    throws IOException
Specified by:
readLong in interface DataInput
IOException

readShort

public final short readShort()
                      throws IOException
Specified by:
readShort in interface DataInput
IOException

readUnsignedByte

public final int readUnsignedByte()
                           throws IOException
Specified by:
readUnsignedByte in interface DataInput
IOException

readUnsignedShort

public final int readUnsignedShort()
                            throws IOException
Specified by:
readUnsignedShort in interface DataInput
IOException

readUTF

public final String readUTF()
                     throws IOException
Specified by:
readUTF in interface DataInput
IOException

skipBytes

public final int skipBytes(int num)
                    throws IOException
Specified by:
skipBytes in interface DataInput
IOException

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.