Class PublisherTextExtractor

All Implemented Interfaces:
Closeable, AutoCloseable

public final class PublisherTextExtractor extends POIOLE2TextExtractor
Extract text from HPBF Publisher files
  • Constructor Details

  • Method Details

    • setHyperlinksByDefault

      public void setHyperlinksByDefault(boolean hyperlinksByDefault)
      Should a call to getText() return hyperlinks inline with the text? Default is no
    • getText

      public String getText()
      Description copied from class: POITextExtractor
      Retrieves all the text from the document. How cells, paragraphs etc are separated in the text is implementation specific - see the javadocs for a specific project for details.
      Specified by:
      getText in class POITextExtractor
      Returns:
      All the text from the document
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception