Java org.apache.pdfbox.text PDFTextStripper fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.text PDFTextStripper fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.text PDFTextStripper.

The text is from its open source code.

Subclass

org.apache.pdfbox.text.PDFTextStripper has subclasses.
Click this link to see all its subclasses.

Constructor

PDFTextStripper()
Instantiate a new PDFTextStripper object.

Method

StringgetLineSeparator()
This will get the line separator.
StringgetText(PDDocument doc)
This will return the text of a document.
voidsetEndPage(int endPageValue)
This will set the last page to be extracted by this class.
voidsetPageEnd(String pageEndValue)
Sets the string which will be used at the end of a page.
voidsetPageStart(String pageStartValue)
Sets the string which will be used at the beginning of a page.
voidsetSortByPosition(boolean newSortByPosition)
The order of the text tokens in a PDF file may not be in the same as they appear visually on the screen.
voidsetStartPage(int startPageValue)
This will set the first page to be extracted by this class.
voidwriteText(PDDocument doc, Writer outputStream)
This will take a PDDocument and write the text of that document to the print writer.