public class GenerateDescriptors extends Object
| Constructor and Description |
|---|
GenerateDescriptors() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generate(String annotatorClassName,
String outputRootPath)
A utility for generating Descriptors and Type Descriptors for an annotator.
|
static void |
main(String[] args)
Main method for running from the command line.
|
public static void main(String[] args)
args - command line arguements.public static void generate(String annotatorClassName, String outputRootPath) throws Exception
annotatorClassName - The annotator class name. The annotator class must extend LeoBaseAnnotator and
be in the classpath.outputRootPath - The root directory to output the descriptors to. Descriptors are written to outputRootPath/annotator package/Annotator(Descriptor/Type).xmlException - if any exception occurs during generation.Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.