com.itextpdf.text.pdf.parser
Class FilteredTextRenderListener

java.lang.Object
  extended by com.itextpdf.text.pdf.parser.FilteredRenderListener
      extended by com.itextpdf.text.pdf.parser.FilteredTextRenderListener
All Implemented Interfaces:
RenderListener, TextExtractionStrategy

public class FilteredTextRenderListener
extends FilteredRenderListener
implements TextExtractionStrategy

A text render listener that filters text operations before passing them on to a delegate

Since:
5.0.1

Constructor Summary
FilteredTextRenderListener(TextExtractionStrategy delegate, RenderFilter... filters)
          Construction
 
Method Summary
 String getResultantText()
          This class delegates this call
 
Methods inherited from class com.itextpdf.text.pdf.parser.FilteredRenderListener
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
 

Constructor Detail

FilteredTextRenderListener

public FilteredTextRenderListener(TextExtractionStrategy delegate,
                                  RenderFilter... filters)
Construction

Parameters:
delegate - the delegate RenderListener that will receive filtered text operations
filters - the filter(s) to apply
Method Detail

getResultantText

public String getResultantText()
This class delegates this call

Specified by:
getResultantText in interface TextExtractionStrategy
Returns:
a String with the resulting text.
See Also:
TextExtractionStrategy.getResultantText()


Copyright © 2013. All Rights Reserved.