Class ExtractTextSimple


  • public class ExtractTextSimple
    extends java.lang.Object
    This is a simple text extraction example to get started. For more advanced usage, see the ExtractTextByArea and the DrawPrintTextLocations examples in this subproject, as well as the ExtractText tool in the tools subproject.
    Author:
    Tilman Hausherr
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      This will print the documents text page by page.
      • Methods inherited from class java.lang.Object

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

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        This will print the documents text page by page.
        Parameters:
        args - The command line arguments.
        Throws:
        java.io.IOException - If there is an error parsing or extracting the document.