com.panayotis.gnuplot.terminal
Class DefaultTerminal

java.lang.Object
  extended by com.panayotis.gnuplot.terminal.DefaultTerminal
All Implemented Interfaces:
GNUPlotTerminal, java.io.Serializable

public class DefaultTerminal
extends java.lang.Object
implements GNUPlotTerminal, java.io.Serializable

The default GNUPlot terminal. This terminal has no output file, or specific terminal type. It is here, just in case no specific terminal type has been provided.

Note that in many operating systems this terminal is not really useful, or even visible. Please use a specific terminal yourself.

See Also:
Serialized Form

Constructor Summary
DefaultTerminal()
           
 
Method Summary
 java.lang.String getOutputFile()
          No output is defined for this terminal
 java.lang.String getType()
          This Terminal has no type.
 java.lang.String processOutput(java.io.InputStream stdout)
          No processing is performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTerminal

public DefaultTerminal()
Method Detail

getType

public java.lang.String getType()
This Terminal has no type.

Specified by:
getType in interface GNUPlotTerminal
Returns:
Always returns "".

getOutputFile

public java.lang.String getOutputFile()
No output is defined for this terminal

Specified by:
getOutputFile in interface GNUPlotTerminal
Returns:
Always returns "".

processOutput

public java.lang.String processOutput(java.io.InputStream stdout)
No processing is performed. The plot is displayed in the default output.

Specified by:
processOutput in interface GNUPlotTerminal
Parameters:
stdout - The output of GNUPlot. Not processed.
Returns:
The definition of the error, if something went wrong. If everything is OK, it is necessary to return null.