Class LEFileWriter
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.LEFileWriter
-
public class LEFileWriter extends java.lang.Object
The 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 void
close()
Close.void
seek(int newOffset)
Seek.void
writeByte(int i)
Write byte.void
writeBytes(java.lang.String s)
Write bytes.void
writeChar(int c)
Write char.void
writeFloat(float v)
Write float.void
writeInt(int v)
Write int.
-
-
-
Method Detail
-
writeByte
public void writeByte(int i) throws java.io.IOException
Write 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.IOException
Write 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.IOException
Write char.- Parameters:
c
- the c- Throws:
java.io.IOException
- Signals that an I/O exception has occurred.
-
close
public void close() throws java.io.IOException
Close.- Throws:
java.io.IOException
- Signals that an I/O exception has occurred.
-
writeInt
public void writeInt(int v) throws java.io.IOException
Write 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.IOException
Write 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.IOException
Seek.- Parameters:
newOffset
- the new offset- Throws:
java.io.IOException
- Signals that an I/O exception has occurred.
-
-