Class LEFileReader
java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.LEFileReader
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
FieldsModifier and TypeFieldDescription(package private) char[]The cbuf.private BufferedInputStreamThe in.(package private) intThe offset.(package private) StringThe read filename. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
readFilename
String readFilenameThe read filename. -
in
The in. -
cbuf
char[] cbufThe cbuf. -
offset
int offsetThe offset.
-
-
Constructor Details
-
LEFileReader
Instantiates a new lE file reader.- Parameters:
filename- the filename- Throws:
FileNotFoundException- the file not found exception
-
-
Method Details
-
readInt
Read int.- Returns:
- the int
- Throws:
IOException- Signals that an I/O exception has occurred.
-
readShort
Read short.- Returns:
- the short
- Throws:
IOException- Signals that an I/O exception has occurred.
-
readFloat
Read float.- Returns:
- the float
- Throws:
IOException- Signals that an I/O exception has occurred.
-
readByte
Read byte.- Returns:
- the int
- Throws:
IOException- Signals that an I/O exception has occurred.
-
seek
Seek.- Parameters:
newOffset- the new offset- Throws:
IOException- Signals that an I/O exception has occurred.
-