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.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ExtractTextSimple()  
    • 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.
      private static void usage()
      This will print the usage for this document.
      • Methods inherited from class java.lang.Object

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

      • ExtractTextSimple

        private ExtractTextSimple()
    • 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.
      • usage

        private static void usage()
        This will print the usage for this document.