|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gate.Main
Top-level entry point for the GATE command-line and GUI interfaces.
Field Summary | |
private static Map |
annotatorArgsMap
Map of annotator arguments. |
private static List |
annotatorNames
List of annotators we were asked to run on the collection. |
private static boolean |
batchMode
Are we in batch mode? |
static String |
build
|
private static String |
collName
Name of the collection we were asked to process. |
private static String |
creolePath
Search path for CREOLE modules. |
private static boolean |
DEBUG
Debug flag |
private static List |
debugNames
List of classes we were asked to debug. |
private static boolean |
destroyColl
Don't save collection after batch? |
private static List |
fileNames
List of files we were asked to build a collection from. |
private static MainFrame |
frame
Main Frame of the GUI; null when no GUI running |
static String |
name
|
private static List |
pendingCreoleUrls
The list of pending URLs to add to the CREOLE register |
private static int |
STATUS_ERROR
Status flag for error exit. |
private static int |
STATUS_NORMAL
Status flag for normal exit. |
private static boolean |
verbose
Verbose? |
static String |
version
|
Constructor Summary | |
Main()
|
Method Summary | |
(package private) static void |
|
private static void |
batchProcess()
Run commands as a batch process. |
static MainFrame |
getMainFrame()
Get the main frame of the GUI. |
static void |
help()
Display a help message |
static void |
main(String[] args)
Main routine for GATE. |
static void |
processArgs(String[] args)
Process arguments and set up member fields appropriately. |
private static void |
registerCreoleUrls()
Register any CREOLE URLs that we got on the command line |
private static void |
runGui()
Run the user interface. |
static void |
usage()
Display a usage message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Field Detail |
private static final boolean DEBUG
private static final int STATUS_NORMAL
private static final int STATUS_ERROR
private static MainFrame frame
private static String collName
private static String creolePath
private static List fileNames
private static List annotatorNames
private static Map annotatorArgsMap
private static List debugNames
private static boolean batchMode
private static boolean destroyColl
private static boolean verbose
public static String name
public static String version
public static String build
private static List pendingCreoleUrls
Constructor Detail |
public Main()
Method Detail |
public static void main(String[] args) throws GateException
private static void registerCreoleUrls()
public static MainFrame getMainFrame() throws GateException
private static void runGui() throws GateException
static void()
public static void processArgs(String[] args)
private static void batchProcess() throws GateException
public static void usage()
public static void help()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |