Package org.apache.pdfbox.text
Class PDFTextStripper.WordWithTextPositions
java.lang.Object
org.apache.pdfbox.text.PDFTextStripper.WordWithTextPositions
- Enclosing class:
- PDFTextStripper
Internal class that maps strings to lists of
TextPosition
arrays. Note that the number of entries in that
list may differ from the number of characters in the string due to normalization.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
text
String text -
textPositions
List<TextPosition> textPositions
-
-
Constructor Details
-
WordWithTextPositions
WordWithTextPositions(String word, List<TextPosition> positions)
-
-
Method Details
-
getText
-
getTextPositions
-