uk.ac.shef.dcs.oak.jate.io
Class ListWriter
java.lang.Object
uk.ac.shef.dcs.oak.jate.io.ListWriter
public class ListWriter
- extends java.lang.Object
An utility class which writes a list of strings to a file, with one entry on a line.
Constructor Summary |
ListWriter(java.io.File f,
boolean append)
|
ListWriter(java.lang.String pathToFile)
|
ListWriter(java.lang.String pathToFile,
boolean append)
|
Method Summary |
void |
appendLine(java.lang.String line)
Write a line |
void |
close()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListWriter
public ListWriter(java.lang.String pathToFile)
ListWriter
public ListWriter(java.lang.String pathToFile,
boolean append)
ListWriter
public ListWriter(java.io.File f,
boolean append)
close
public void close()
appendLine
public void appendLine(java.lang.String line)
- Write a line
- Parameters:
line
-