Class SimpleTSVEntityAnnotationFormat
- java.lang.Object
-
- de.julielab.jcore.ae.annotationadder.annotationformat.SimpleTSVEntityAnnotationFormat
-
- All Implemented Interfaces:
AnnotationFormat<ExternalTextAnnotation>
public class SimpleTSVEntityAnnotationFormat extends Object implements AnnotationFormat<ExternalTextAnnotation>
-
-
Constructor Summary
Constructors Constructor Description SimpleTSVEntityAnnotationFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Class<?>>getColumnDataTypes()intgetDocumentIdColumnIndex()String[]getHeader()voidhasHeader(boolean withHeader)ExternalTextAnnotationparse(String data)voidsetColumnNames(String[] header)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.julielab.jcore.ae.annotationadder.annotationformat.AnnotationFormat
determineDataType
-
-
-
-
Method Detail
-
parse
public ExternalTextAnnotation parse(String data)
- Specified by:
parsein interfaceAnnotationFormat<ExternalTextAnnotation>
-
hasHeader
public void hasHeader(boolean withHeader)
- Specified by:
hasHeaderin interfaceAnnotationFormat<ExternalTextAnnotation>
-
getHeader
public String[] getHeader()
- Specified by:
getHeaderin interfaceAnnotationFormat<ExternalTextAnnotation>
-
getColumnDataTypes
public List<Class<?>> getColumnDataTypes()
- Specified by:
getColumnDataTypesin interfaceAnnotationFormat<ExternalTextAnnotation>
-
setColumnNames
public void setColumnNames(String[] header)
- Specified by:
setColumnNamesin interfaceAnnotationFormat<ExternalTextAnnotation>
-
getDocumentIdColumnIndex
public int getDocumentIdColumnIndex()
- Specified by:
getDocumentIdColumnIndexin interfaceAnnotationFormat<ExternalTextAnnotation>
-
-