public class TableOutput extends FileOutput
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_FORMATTER
The table formatter used if formatter is invalid
|
NORMAL_FILE_ACCESS
Constructor and Description |
---|
TableOutput(int timePrec,
java.lang.String format)
Creates a new TableOutput with the given time precision and
TableFormatter
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the table output (and the assigned file).
|
void |
open(java.lang.String name)
Opens the table output as a file with the given name
|
getEndOfLine, getFileName, getSeparator, isEmpty, isOpen, setEndOfLine, setFileSystemAccess, setSeparator, write, writeln, writeSep
public static final java.lang.String DEFAULT_FORMATTER
public TableOutput(int timePrec, java.lang.String format)
timePrec
- precision for writing time values.format
- fully qualified class name of assigned TableFormatterpublic void open(java.lang.String name)
open
in class FileOutput
name
- filenamepublic void close()
close
in class FileOutput