Class LEFileWriter
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.LEFileWriter
-
public class LEFileWriter extends java.lang.ObjectThe Class LEFileWriter.
-
-
Constructor Summary
Constructors Constructor Description LEFileWriter(java.lang.String filename)Instantiates a new lE file writer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close.voidseek(int newOffset)Seek.voidwriteByte(int i)Write byte.voidwriteBytes(java.lang.String s)Write bytes.voidwriteChar(int c)Write char.voidwriteFloat(float v)Write float.voidwriteInt(int v)Write int.
-
-
-
Method Detail
-
writeByte
public void writeByte(int i) throws java.io.IOExceptionWrite byte.- Parameters:
i- the i- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
writeBytes
public void writeBytes(java.lang.String s) throws java.io.IOExceptionWrite bytes.- Parameters:
s- the s- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
writeChar
public void writeChar(int c) throws java.io.IOExceptionWrite char.- Parameters:
c- the c- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
close
public void close() throws java.io.IOExceptionClose.- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
writeInt
public void writeInt(int v) throws java.io.IOExceptionWrite int.- Parameters:
v- the v- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
writeFloat
public void writeFloat(float v) throws java.io.IOExceptionWrite float.- Parameters:
v- the v- 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.
-
-