Class LEFileWriter
java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.LEFileWriter
The Class LEFileWriter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close.voidseek(int newOffset) Seek.voidwriteByte(int i) Write byte.voidwriteBytes(String s) Write bytes.voidwriteChar(int c) Write char.voidwriteFloat(float v) Write float.voidwriteInt(int v) Write int.
-
Field Details
-
wfilename
String wfilenameThe wfilename. -
out
The out. -
temp
private byte[] tempThe temp. -
offset
int offsetThe offset.
-
-
Constructor Details
-
LEFileWriter
Instantiates a new lE file writer.- Parameters:
filename- the filename- Throws:
FileNotFoundException- the file not found exception
-
-
Method Details
-
writeByte
Write byte.- Parameters:
i- the i- Throws:
IOException- Signals that an I/O exception has occurred.
-
writeBytes
Write bytes.- Parameters:
s- the s- Throws:
IOException- Signals that an I/O exception has occurred.
-
writeChar
Write char.- Parameters:
c- the c- Throws:
IOException- Signals that an I/O exception has occurred.
-
close
Close.- Throws:
IOException- Signals that an I/O exception has occurred.
-
writeInt
Write int.- Parameters:
v- the v- Throws:
IOException- Signals that an I/O exception has occurred.
-
writeFloat
Write float.- Parameters:
v- the v- 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.
-