public class AnnotationConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_TYPE |
static String |
ENTITY_TYPE |
static String |
RELATION_TYPE |
static String |
SPAN_TYPE |
| Constructor and Description |
|---|
AnnotationConfiguration(Map<String,String> typeToClassMap) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeClass(String type) |
static AnnotationConfiguration |
parse(File annConfigFile) |
static AnnotationConfiguration |
parse(InputStream in) |
public static final String SPAN_TYPE
public static final String ENTITY_TYPE
public static final String RELATION_TYPE
public static final String ATTRIBUTE_TYPE
public static AnnotationConfiguration parse(InputStream in) throws IOException
IOExceptionpublic static AnnotationConfiguration parse(File annConfigFile) throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.