public abstract class AbstractTextAnnotationCreator extends java.lang.Object implements AnnotationCreator
Constructor and Description |
---|
AbstractTextAnnotationCreator() |
Modifier and Type | Method and Description |
---|---|
Annotation |
create(java.io.InputStream stream) |
Annotation |
create(java.io.InputStream stream,
java.lang.String encoding) |
Annotation |
create(java.io.Reader reader) |
Annotation |
createFromFile(java.io.File file) |
Annotation |
createFromFile(java.lang.String filename) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFromText
public Annotation createFromFile(java.lang.String filename) throws java.io.IOException
createFromFile
in interface AnnotationCreator
java.io.IOException
public Annotation createFromFile(java.io.File file) throws java.io.IOException
createFromFile
in interface AnnotationCreator
java.io.IOException
public Annotation create(java.io.InputStream stream) throws java.io.IOException
create
in interface AnnotationCreator
java.io.IOException
public Annotation create(java.io.InputStream stream, java.lang.String encoding) throws java.io.IOException
create
in interface AnnotationCreator
java.io.IOException
public Annotation create(java.io.Reader reader) throws java.io.IOException
create
in interface AnnotationCreator
java.io.IOException