Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.
CmdLine (Basic)
I. Description
This is the root class of this CmdLine package to provide basic function of interactive interface for command line tool. The following steps are needed to use this class:import gov.nih.nlm.nls.stmt.CmdLine.*;
import gov.nih.nlm.nls.stmt.Lib.*;
public class YourClass extends CmdLine
YourClass yourClass = new YourClass();
yourClass.Run(args);
protected void InitLocalObjs()
protected void SetToolInfo()
protected void CloseLocalObjs()
protected void ProcessLine(String line)
II. Main Algorithm
protected boolean PreProcess(String[] args)
protected void Process()
protected void PostProcess()
protected void HelpMenu()
III. Abstract Methods
protected abstract void InitLocalObjs();
protected abstract void SetToolInfo();
protected abstract void ProcessLine(String line);
protected abstract void CloseLocalObjs();