public class PrintAnnotations extends Object
| Constructor and Description |
|---|
PrintAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main program for testing this class.
|
static void |
printAnnotations(CAS aCAS,
PrintStream aOut)
Prints all Annotations to a PrintStream.
|
static void |
printAnnotations(CAS aCAS,
Type aAnnotType,
PrintStream aOut)
Prints all Annotations of a specified Type to a PrintStream.
|
static void |
printFS(FeatureStructure aFS,
CAS aCAS,
int aNestingLevel,
PrintStream aOut)
Prints a FeatureStructure to a PrintStream.
|
public static void printAnnotations(CAS aCAS, PrintStream aOut)
aCAS - the CAS containing the FeatureStructures to printaOut - the PrintStream to which output will be writtenpublic static void printAnnotations(CAS aCAS, Type aAnnotType, PrintStream aOut)
aCAS - the CAS containing the FeatureStructures to printaAnnotType - the Type of Annotation to be printedaOut - the PrintStream to which output will be writtenpublic static void printFS(FeatureStructure aFS, CAS aCAS, int aNestingLevel, PrintStream aOut)
aFS - the FeatureStructure to printaCAS - the CAS containing the FeatureStructureaNestingLevel - number of tabs to print before each lineaOut - the PrintStream to which output will be writtenpublic static void main(String[] args)
Copyright © 2015. All rights reserved.