Package com.itextpdf.text.pdf.parser
Class GlyphTextRenderListener
- java.lang.Object
-
- com.itextpdf.text.pdf.parser.GlyphRenderListener
-
- com.itextpdf.text.pdf.parser.GlyphTextRenderListener
-
- All Implemented Interfaces:
RenderListener
,TextExtractionStrategy
public class GlyphTextRenderListener extends GlyphRenderListener implements TextExtractionStrategy
-
-
Field Summary
Fields Modifier and Type Field Description private TextExtractionStrategy
delegate
-
Constructor Summary
Constructors Constructor Description GlyphTextRenderListener(TextExtractionStrategy delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getResultantText()
Returns the result so far.-
Methods inherited from class com.itextpdf.text.pdf.parser.GlyphRenderListener
beginTextBlock, endTextBlock, renderImage, renderText
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.itextpdf.text.pdf.parser.RenderListener
beginTextBlock, endTextBlock, renderImage, renderText
-
-
-
-
Field Detail
-
delegate
private final TextExtractionStrategy delegate
-
-
Constructor Detail
-
GlyphTextRenderListener
public GlyphTextRenderListener(TextExtractionStrategy delegate)
-
-
Method Detail
-
getResultantText
public java.lang.String getResultantText()
Description copied from interface:TextExtractionStrategy
Returns the result so far.- Specified by:
getResultantText
in interfaceTextExtractionStrategy
- Returns:
- a String with the resulting text.
-
-