org.mdanderson.biostat.geneclust
public class GCStreamMonitor extends DefaultStreamMonitor implements GCStreamMonitorKeys
ERR_TRANSLATE_KEY, MONITOR_APP_PROCESSING_COMPLETE, MONITOR_APP_PROCESSING_INPUT, MONITOR_APP_TERMINATED, MONITOR_CREATE_MATRIX, MONITOR_DISPLAY_RESULTS, MONITOR_ERR_FATAL, MONITOR_ERR_NO_CLUSTERS_LEFT, MONITOR_ERR_RECOVERABLE, MONITOR_ESTIMATE_OPT_CLUSTER_SIZE, MONITOR_EXTRACT_CLUSTER, MONITOR_HIERARCHICAL_CLUSTERING, MONITOR_ORTHOGONALIZE_MATRIX, MONITOR_RANDOMIZE_MATRIX, MONITOR_READ_MATRIX, MONITOR_SHAVE_INIT_NESTED_SEQUENCE, MONITOR_SHAVE_RAND_NESTED_SEQUENCE
STREAMMONITOR_AWAITING_INPUT, STREAMMONITOR_DONE, STREAMMONITOR_END_OF_INPUT, STREAMMONITOR_STARTED, STREAMMONITOR_TAG
Constructor and Description |
---|
GCStreamMonitor(InputStream is,
OutputStream redirect,
SimulationDialog dialog)
Class constructor specifying input stream, output stream, and dialog
where results should be displayed
|
Modifier and Type | Method and Description |
---|---|
protected String |
processLine(String line)
Processes the output from the input stream, checking for embedded
messages destined for the GUI.
|
disableEcho, echoOutput, enableEcho, run
public GCStreamMonitor(InputStream is, OutputStream redirect, SimulationDialog dialog)
is
- input streamredirect
- output streamdialog
- reference to simulation dialogprotected String processLine(String line)
processLine
in class DefaultStreamMonitor
line
- string containing external process outputNullPointerException
- if line is nullCopyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.