public class PrintAnnotations
extends java.lang.Object
Constructor and Description |
---|
PrintAnnotations() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main program for testing this class.
|
static void |
printAnnotations(CAS aCAS,
java.io.PrintStream aOut)
Prints all Annotations to a PrintStream.
|
static void |
printAnnotations(CAS aCAS,
Type aAnnotType,
java.io.PrintStream aOut)
Prints all Annotations of a specified Type to a PrintStream.
|
static void |
printFS(FeatureStructure aFS,
CAS aCAS,
int aNestingLevel,
java.io.PrintStream aOut)
Prints a FeatureStructure to a PrintStream.
|
public static void printAnnotations(CAS aCAS, java.io.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, java.io.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, java.io.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(java.lang.String[] args)
Copyright © 2012. All Rights Reserved.