public class ConsumerCasUtils extends Object
Constructor and Description |
---|
ConsumerCasUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getIntFeatValue(CAS aCasView,
String aTypeS,
String aFeatS)
Returns an int value of a given Feature Structure
|
static String |
getStringFeatValue(CAS aCasView,
String aTypeS,
String aFeatS)
Returns a string value of a given Feature Structure
|
static FeatureStructure |
getTcasFS(CAS aCasView,
String aTypeS)
Returns a Feature Structure of a given type
|
public static int getIntFeatValue(CAS aCasView, String aTypeS, String aFeatS)
aCasView
- -
CAS instance to retrieve data fromaTypeS
- -
Feature TypeaFeatS
- -
Feature Structurepublic static String getStringFeatValue(CAS aCasView, String aTypeS, String aFeatS)
aCasView
- -
CAS view to retrieve data fromaTypeS
- -
Feature TypeaFeatS
- -
Feature Structurepublic static FeatureStructure getTcasFS(CAS aCasView, String aTypeS)
aCasView
- -
CAS instance to retrieve data fromaTypeS
- -
Feature TypeCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.