public class TextFileTerminal extends FileTerminal
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
output |
NL
Constructor and Description |
---|
TextFileTerminal(java.lang.String type)
Creates a new instance of TextFileTerminal.
|
TextFileTerminal(java.lang.String type,
java.lang.String filename)
Creates a new instance of TextFileTerminal and output to a specific file
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTextOutput()
Retrieve the String with the output of the last gnuplot command
|
java.lang.String |
processOutput(java.io.InputStream stdout)
Process output of this terminal.
|
getOutputFile
getType
appendProperties, set, set, unset
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
public TextFileTerminal(java.lang.String type)
type
- the terminal typepublic TextFileTerminal(java.lang.String type, java.lang.String filename)
type
- the terminal typefilename
- the file to save output topublic java.lang.String processOutput(java.io.InputStream stdout)
processOutput
in interface GNUPlotTerminal
processOutput
in class ExpandableTerminal
stdout
- The gnuplot output streampublic java.lang.String getTextOutput()