edu.jhu.ece.iacl.jist.io
Class LEFileReader

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.io.LEFileReader

public class LEFileReader
extends java.lang.Object

Created by IntelliJ IDEA. User: bennett Date: Dec 6, 2005 Time: 5:03:56 PM To change this template use Options | File Templates.


Constructor Summary
LEFileReader(java.lang.String filename)
          Instantiates a new lE file reader.
 
Method Summary
 int readByte()
          Read byte.
 float readFloat()
          Read float.
 int readInt()
          Read int.
 short readShort()
          Read short.
 void seek(int newOffset)
          Seek.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LEFileReader

public LEFileReader(java.lang.String filename)
             throws java.io.FileNotFoundException
Instantiates a new lE file reader.

Parameters:
filename - the filename
Throws:
java.io.FileNotFoundException - the file not found exception
Method Detail

readInt

public int readInt()
            throws java.io.IOException
Read int.

Returns:
the int
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

readShort

public short readShort()
                throws java.io.IOException
Read short.

Returns:
the short
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

readFloat

public float readFloat()
                throws java.io.IOException
Read float.

Returns:
the float
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

readByte

public int readByte()
             throws java.io.IOException
Read byte.

Returns:
the int
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

seek

public void seek(int newOffset)
          throws java.io.IOException
Seek.

Parameters:
newOffset - the new offset
Throws:
java.io.IOException - Signals that an I/O exception has occurred.