public class FilteredTextEventListener extends FilteredEventListener implements ITextExtractionStrategy
FilteredEventListeneris that this class conveniently implements
ITextExtractionStrategyand can therefore used as a strategy on its own, apart from the inherited function of filtering event appropriately to its delegates.
|Constructor and Description|
|Modifier and Type||Method and Description|
As an resultant text we use the concatenation of all the resultant text of all the delegates that implement
attachEventListener, eventOccurred, getSupportedEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FilteredTextEventListener(ITextExtractionStrategy delegate, IEventFilter... filterSet)
FilteredTextEventListenerinstance with a
delegate- a delegate that fill be called when all the corresponding filters for an event pass
filterSet- filters attached to the delegate that will be tested before passing an event on to the delegate
public String getResultantText()
Copyright © 1998–2018 iText Group NV. All rights reserved.