Package org.apache.uima.tools.cvd
Class CVD
- java.lang.Object
-
- org.apache.uima.tools.cvd.CVD
-
public class CVD extends java.lang.Object
The main class for the CAS Visual Debugger.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
DATA_PATH_PARAM
The Constant DATA_PATH_PARAM.private static java.lang.String
DESC_FILE_PARAM
The Constant DESC_FILE_PARAM.private static java.lang.String
EXECUTE_SWITCH
The Constant EXECUTE_SWITCH.private static java.lang.String
INI_FILE_PARAM
The Constant INI_FILE_PARAM.private static java.lang.String
LOOK_AND_FEEL_PARAM
The Constant LOOK_AND_FEEL_PARAM.static java.lang.String
MAN_PATH_PROPERTY
The Constant MAN_PATH_PROPERTY.private static java.lang.String
TEXT_FILE_PARAM
The Constant TEXT_FILE_PARAM.private static java.lang.String
XMI_FILE_PARAM
The Constant XMI_FILE_PARAM.
-
Constructor Summary
Constructors Modifier Constructor Description private
CVD()
Instantiates a new cvd.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static boolean
checkCmdLineSyntax(CommandLineParser clp)
Check cmd line syntax.private static CommandLineParser
createCmdLineParser()
Creates the cmd line parser.static MainFrame
createMainFrame()
Creates the main frame.static MainFrame
createMainFrame(java.io.File iniFile)
Creates the main frame.static void
main(java.lang.String[] args)
The main method.private static void
printUsage()
Prints the usage.
-
-
-
Field Detail
-
MAN_PATH_PROPERTY
public static final java.lang.String MAN_PATH_PROPERTY
The Constant MAN_PATH_PROPERTY.- See Also:
- Constant Field Values
-
TEXT_FILE_PARAM
private static final java.lang.String TEXT_FILE_PARAM
The Constant TEXT_FILE_PARAM.- See Also:
- Constant Field Values
-
DESC_FILE_PARAM
private static final java.lang.String DESC_FILE_PARAM
The Constant DESC_FILE_PARAM.- See Also:
- Constant Field Values
-
EXECUTE_SWITCH
private static final java.lang.String EXECUTE_SWITCH
The Constant EXECUTE_SWITCH.- See Also:
- Constant Field Values
-
DATA_PATH_PARAM
private static final java.lang.String DATA_PATH_PARAM
The Constant DATA_PATH_PARAM.- See Also:
- Constant Field Values
-
INI_FILE_PARAM
private static final java.lang.String INI_FILE_PARAM
The Constant INI_FILE_PARAM.- See Also:
- Constant Field Values
-
LOOK_AND_FEEL_PARAM
private static final java.lang.String LOOK_AND_FEEL_PARAM
The Constant LOOK_AND_FEEL_PARAM.- See Also:
- Constant Field Values
-
XMI_FILE_PARAM
private static final java.lang.String XMI_FILE_PARAM
The Constant XMI_FILE_PARAM.- See Also:
- Constant Field Values
-
-
Method Detail
-
createMainFrame
public static MainFrame createMainFrame()
Creates the main frame.- Returns:
- the main frame
-
createMainFrame
public static MainFrame createMainFrame(java.io.File iniFile)
Creates the main frame.- Parameters:
iniFile
- the ini file- Returns:
- the main frame
-
createCmdLineParser
private static final CommandLineParser createCmdLineParser()
Creates the cmd line parser.- Returns:
- the command line parser
-
printUsage
private static final void printUsage()
Prints the usage.
-
checkCmdLineSyntax
private static final boolean checkCmdLineSyntax(CommandLineParser clp)
Check cmd line syntax.- Parameters:
clp
- the clp- Returns:
- true, if successful
-
main
public static void main(java.lang.String[] args)
The main method.- Parameters:
args
- the arguments
-
-