Class 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 document
      abstract java.lang.String getText()  
      abstract java.lang.String getTextpath()
      get the optional text version of the document;
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocInput

        public DocInput​(java.lang.String id,
                        java.lang.String buffer)
    • 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