java.lang.Object
org.opensst.client.ui.idc.CommandLineInitialDataCollector
- All Implemented Interfaces:
- InitialDataCollector
- public class CommandLineInitialDataCollector
- extends java.lang.Object
- implements InitialDataCollector
This is an initial data collector.
This simple class uses the command line to ask for the data. It can easily be replaced
by anything else (Swing, HTML, ...)
$Date: 2002/09/26 18:59:30 $
- Version:
- $Revision: 1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private org.opensst.util.log.OpenSSTLogger logger
CommandLineInitialDataCollector
public CommandLineInitialDataCollector()
- Constructor for CommandLineInitialDataCollector.
init
public void init()
- Description copied from interface:
InitialDataCollector
- Give a chance to the UI to initialize itself.
This method should perform all the initialization steps and left the
object in a ready-to-be displayed state
- Specified by:
init in interface InitialDataCollector
collect
public InitialData collect()
- Description copied from interface:
InitialDataCollector
- Let's start the data collection mecanisms. This method is synchronous
and only return when all the data are collected
- Specified by:
collect in interface InitialDataCollector
done
public void done()
- Description copied from interface:
InitialDataCollector
- Give a chance to properly clean up any used resources.
- Specified by:
done in interface InitialDataCollector
readLine
private java.lang.String readLine(java.lang.String prompt)
- Read a line of data on the default input.