Package org.opensextant.data
Class DocInput
- java.lang.Object
-
- org.opensextant.data.TextInput
-
- org.opensextant.data.DocInput
-
public abstract class DocInput extends TextInput
Use only for cases where you have document inputs instead of raw records.- Author:
- ubaldino
-
-
Constructor Summary
Constructors Constructor Description DocInput(java.lang.String id, java.lang.String buffer)
-
Method Summary
Modifier and Type Method Description abstract java.lang.String
getFilepath()
get the original documentabstract java.lang.String
getText()
abstract java.lang.String
getTextpath()
get the optional text version of the document;
-
-
-
Method Detail
-
getFilepath
public abstract java.lang.String getFilepath()
get the original document- Returns:
- path to original
-
getTextpath
public abstract java.lang.String getTextpath()
get the optional text version of the document;- Returns:
- path to a text version or conversion of the original.
-
getText
public abstract java.lang.String getText()
- Returns:
- string buffer
-
-