Class LEFileReader
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.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.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) char[]
cbuf
The cbuf.private java.io.BufferedInputStream
in
The in.(package private) int
offset
The offset.(package private) java.lang.String
readFilename
The 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 int
readByte()
Read byte.float
readFloat()
Read float.int
readInt()
Read int.short
readShort()
Read short.void
seek(int newOffset)
Seek.
-
-
-
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.
-
-