public class SimpleTextExtractionStrategy extends Object implements ITextExtractionStrategy
| Constructor and Description |
|---|
SimpleTextExtractionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendTextChunk(CharSequence text)
Used to actually append text to the text results.
|
void |
eventOccurred(IEventData data,
EventType type)
Called when some event occurs during parsing a content stream.
|
String |
getResultantText()
Returns the result so far.
|
Set<EventType> |
getSupportedEvents()
Provides the set of event types this listener supports.
|
public void eventOccurred(IEventData data, EventType type)
IEventListenereventOccurred in interface IEventListenerdata - Combines the data required for processing corresponding event type.type - Event type.public Set<EventType> getSupportedEvents()
IEventListenergetSupportedEvents in interface IEventListenerpublic String getResultantText()
getResultantText in interface ITextExtractionStrategyprotected final void appendTextChunk(CharSequence text)
text - the text to append to the text results accumulated so farCopyright © 1998–2025 Apryse Group NV. All rights reserved.