com.panayotis.gnuplot.terminal
Class CustomTerminal

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.String>
          extended by com.panayotis.gnuplot.PropertiesHolder
              extended by com.panayotis.gnuplot.terminal.ExpandableTerminal
                  extended by com.panayotis.gnuplot.terminal.CustomTerminal
All Implemented Interfaces:
GNUPlotTerminal, java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>

public class CustomTerminal
extends ExpandableTerminal

This is a user specific terminal. The user in run-time defines what kind of terminal wants. The output is not processed. If you want to process the output, you might need to subclass this object and override processOutput(InputStream stdout) method.

See Also:
GNUPlotTerminal.processOutput(java.io.InputStream), Serialized Form

Field Summary
 
Fields inherited from class com.panayotis.gnuplot.PropertiesHolder
NL
 
Constructor Summary
CustomTerminal(java.lang.String type, java.lang.String file)
          Create a new custom terminal
 
Method Summary
 java.lang.String getOutputFile()
          Retrieve the output filename
 
Methods inherited from class com.panayotis.gnuplot.terminal.ExpandableTerminal
getType, processOutput
 
Methods inherited from class com.panayotis.gnuplot.PropertiesHolder
appendProperties, set, set, unset
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CustomTerminal

public CustomTerminal(java.lang.String type,
                      java.lang.String file)
Create a new custom terminal

Parameters:
type - The type of this terminal
file - The filename to redirect output (if desired)
Method Detail

getOutputFile

public java.lang.String getOutputFile()
Retrieve the output filename

Returns:
The filename which this terminal will direct gnuplot output