| java.lang.Object org.griphyn.vdl.toolkit.Toolkit
All known Subclasses: org.griphyn.vdl.toolkit.DeleteMeta, org.griphyn.vdl.toolkit.XSearchVDC, org.griphyn.vdl.toolkit.Planner, org.griphyn.vdl.toolkit.VDLx2VDLt, org.griphyn.vdl.toolkit.SearchMeta, org.griphyn.vdl.toolkit.VDLtConv, org.griphyn.vdl.invocation.SimpleServer, org.griphyn.vdl.toolkit.ShowMeta, org.griphyn.vdl.toolkit.GetDAX, org.griphyn.common.catalog.toolkit.RCClient, org.griphyn.vdl.router.ToText, org.griphyn.vdl.toolkit.VizDAX2, org.griphyn.vdl.toolkit.DeleteVDC, org.griphyn.vdl.router.ToDAG, org.griphyn.vdl.toolkit.VizDAX, org.griphyn.vdl.toolkit.SearchVDC, org.griphyn.vdl.toolkit.VDLHelper, org.griphyn.vdl.toolkit.TestProps, org.griphyn.vdl.toolkit.InsertMeta, org.griphyn.vdl.toolkit.ExitCode,
Constructor Summary | |
public | Toolkit(String appName) Default ctor: Sets up the system
Parameters: appName - is the name of the shell wrapper with which to report. | public | Toolkit(String appName, int verbosity) Default ctor: Sets up the system
Parameters: appName - is the name of the shell wrapper with which to report. |
Method Summary | |
public int | getVerbosity() Helper function to obtain the verbosity level of the app logging
queue. | public int | increaseVerbosity() Helper function to increase the verbosity level of the app logging
queue using the internal verbosity state. | protected int | readFile(String fn, Collection list) This helper method reads lines from a file and add non-empty,
no-comment lines to a collection of lines. | public void | setVerbosity(int verbosity) Helper function to set the verbosity level of the app logging
queue. | abstract public void | showUsage() Prints the short usage string onto stdout. |
m_application | protected String m_application(Code) | | Stores the name of the application as which this one was run
|
m_home | protected String m_home(Code) | | Stores the name of the home directory for the Chimera system.
|
m_logger | protected Logging m_logger(Code) | | Stores the logging instance
|
m_verbosity | protected int m_verbosity(Code) | | Stores the verbosity level of the app logging queue.
|
Toolkit | public Toolkit(String appName)(Code) | | Default ctor: Sets up the system
Parameters: appName - is the name of the shell wrapper with which to report. |
Toolkit | public Toolkit(String appName, int verbosity)(Code) | | Default ctor: Sets up the system
Parameters: appName - is the name of the shell wrapper with which to report. Parameters: verbosity - sets the verbosity level of the "app" logging queue. |
readFile | protected int readFile(String fn, Collection list) throws IOException(Code) | | This helper method reads lines from a file and add non-empty,
no-comment lines to a collection of lines. Invoke with a set to
prohibit duplicates, or with a list to permit duplicates.
Parameters: fn - is the name of the file to read. Parameters: list - is the container to add lines to number of items read. throws: IOException - if any file operation failed. |
showUsage | abstract public void showUsage()(Code) | | Prints the short usage string onto stdout. No exiting.
The application name is maintained by the c'tor.
|
|
|