Package edu.fiu.jtlex.algorithms
Class TimeMLWriter
java.lang.Object
edu.fiu.jtlex.algorithms.TimeMLWriter
- All Implemented Interfaces:
IWriter
A FileWriter proxy class that implements
IWriter- Since:
- jTLEX 1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TimeMLWriter
Creates a FileWriter proxy.- Parameters:
filename- The name of the file to be created.- Throws:
NullPointerException- If filename is nullIllegalArgumentException- If the given file is a directoryIOException- If an IO error occurs- Since:
- jTLEX 1.0
-
-
Method Details
-
write
Writes a string- Specified by:
writein interfaceIWriter- Parameters:
input- String to be written- Throws:
IOException- If an IO error occurs- Since:
- jTLEX 1.0
-
writeLine
Writes a string and a new line character at the end.- Specified by:
writeLinein interfaceIWriter- Parameters:
input- String to be written- Throws:
IOException- If an IO error occurs- Since:
- jTLEX 1.0
-
close
Closes the stream.- Specified by:
closein interfaceIWriter- Throws:
IOException- If an IO error occurs- Since:
- jTLEX 1.0
-