Class LEFileReader
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.LEFileReader
-
public class LEFileReader extends java.lang.ObjectCreated by IntelliJ IDEA. User: bennett Date: Dec 6, 2005 Time: 5:03:56 PM To change this template use Options | File Templates.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) char[]cbufThe cbuf.private java.io.BufferedInputStreaminThe in.(package private) intoffsetThe offset.(package private) java.lang.StringreadFilenameThe read filename.
-
Constructor Summary
Constructors Constructor Description LEFileReader(java.lang.String filename)Instantiates a new lE file reader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intreadByte()Read byte.floatreadFloat()Read float.intreadInt()Read int.shortreadShort()Read short.voidseek(int newOffset)Seek.
-
-
-
Method Detail
-
readInt
public int readInt() throws java.io.IOExceptionRead int.- Returns:
- the int
- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
readShort
public short readShort() throws java.io.IOExceptionRead short.- Returns:
- the short
- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
readFloat
public float readFloat() throws java.io.IOExceptionRead float.- Returns:
- the float
- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
readByte
public int readByte() throws java.io.IOExceptionRead 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.IOExceptionSeek.- Parameters:
newOffset- the new offset- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
-