public class Jg extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Jg.ErrorExit |
static interface |
Jg.IJCasTypeTemplate
Interface implemeted by JCAS code generation's templates
|
Modifier and Type | Field and Description |
---|---|
static Properties |
casCreateProperties |
IError |
error |
Constructor and Description |
---|
Jg() |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
createResourceManager() |
void |
driveGui() |
ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle,
|
String |
getResourceString(String key)
Returns the string from the plugin's resource bundle, or 'key' if not found.
|
String |
getString(String key,
Object[] substitutions) |
static void |
main(String[] args) |
int |
main0(String[] args,
IMerge aMerger,
IProgressMonitor aProgressMonitor,
IError aError) |
int |
main1(String[] arguments)
Arguments are:
-jcasgeninput xxxx
-jcasgenoutput xxxx
-jcasgenclasspath xxxx
|
void |
mainForCde(IMerge aMerger,
IProgressMonitor aProgressMonitor,
IError aError,
String inputFile,
String outputDirectory,
TypeDescription[] tds,
CASImpl aCas) |
void |
mainForCde(IMerge aMerger,
IProgressMonitor aProgressMonitor,
IError aError,
String inputFile,
String outputDirectory,
TypeDescription[] tds,
CASImpl aCas,
String projectPathDir,
boolean limitJCasGenToProjectScope,
Map<String,Set<String>> mergedTypesAddingFeatures) |
void |
mainGenerateAllTypesFromTemplates(IMerge aMerger,
IProgressMonitor aProgressMonitor,
IError aError,
String inputFile,
String outputDirectory,
TypeDescription[] tds,
CASImpl aCas,
Class jcasTypeClass,
Class jcas_TypeClass) |
void |
mainGenerateAllTypesFromTemplates(IMerge aMerger,
IProgressMonitor aProgressMonitor,
IError aError,
String inputFile,
String outputDirectory,
TypeDescription[] tds,
CASImpl aCas,
Class jcasTypeClass,
Class jcas_TypeClass,
String projectPathDir,
boolean limitJCasGenToProjectScope,
Map<String,Set<String>> mergedTypesAddingFeatures) |
static String |
removePkg(String name) |
public static final Properties casCreateProperties
public IError error
public String getResourceString(String key)
public ResourceBundle getResourceBundle()
public void driveGui()
public static void main(String[] args)
public void mainForCde(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas) throws IOException
IOException
public void mainForCde(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, String projectPathDir, boolean limitJCasGenToProjectScope, Map<String,Set<String>> mergedTypesAddingFeatures) throws IOException
IOException
public void mainGenerateAllTypesFromTemplates(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class jcasTypeClass, Class jcas_TypeClass) throws IOException, InstantiationException, IllegalAccessException
public void mainGenerateAllTypesFromTemplates(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class jcasTypeClass, Class jcas_TypeClass, String projectPathDir, boolean limitJCasGenToProjectScope, Map<String,Set<String>> mergedTypesAddingFeatures) throws IOException, InstantiationException, IllegalAccessException
public int main0(String[] args, IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError)
public int main1(String[] arguments)
arguments
- public ResourceManager createResourceManager()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.