org.gnu.glpk
Class GlpkTerminal

java.lang.Object
  extended by org.gnu.glpk.GlpkTerminal

public class GlpkTerminal
extends java.lang.Object

This class manages terminal output.


Constructor Summary
GlpkTerminal()
           
 
Method Summary
static void addListener(GlpkTerminalListener listener)
          Add listener.
static int callback(java.lang.String str)
          Callback function called by native library.
static void removeAllListeners()
          Remove all listeneres.
static void removeListener(GlpkTerminalListener listener)
          Remove listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlpkTerminal

public GlpkTerminal()
Method Detail

callback

public static int callback(java.lang.String str)
Callback function called by native library.


addListener

public static void addListener(GlpkTerminalListener listener)
Add listener.

Parameters:
listener - listener for terminal output

removeListener

public static void removeListener(GlpkTerminalListener listener)
Remove listener.

Parameters:
listener - listener for terminal output

removeAllListeners

public static void removeAllListeners()
Remove all listeneres.