edu.jhu.ece.iacl.jist.io
Class LEFileWriter

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.io.LEFileWriter

public class LEFileWriter
extends java.lang.Object

The Class LEFileWriter.


Constructor Summary
LEFileWriter(java.lang.String filename)
          Instantiates a new lE file writer.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LEFileWriter

public LEFileWriter(java.lang.String filename)
             throws java.io.FileNotFoundException
Instantiates a new lE file writer.

Parameters:
filename - the filename
Throws:
java.io.FileNotFoundException - the file not found exception
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.