public abstract class AbstractTextConverter extends RtfListenerAdaptor
| Constructor and Description |
|---|
AbstractTextConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(IRtfSource source) |
void |
processCommand(Command command,
int parameter,
boolean hasParameter,
boolean optional)
Event raised by the RTF parser detailing a command read from the file.
|
abstract void |
processExtractedText(String text)
This method is called to process the test we've extracted from the RTF file.
|
void |
processGroupEnd()
Event raised when the end of a group is encountered.
|
void |
processGroupStart()
Event raised when the stat of a group is encountered.
|
void |
processString(String string)
Event raised by the RTF parser to pass string data.
|
processBinaryBytes, processCharacterBytes, processDocumentEnd, processDocumentStartpublic void convert(IRtfSource source) throws IOException
IOExceptionpublic abstract void processExtractedText(String text)
public void processGroupStart()
IRtfListenerprocessGroupStart in interface IRtfListenerprocessGroupStart in class RtfListenerAdaptorpublic void processGroupEnd()
IRtfListenerprocessGroupEnd in interface IRtfListenerprocessGroupEnd in class RtfListenerAdaptorpublic void processString(String string)
IRtfListenerprocessString in interface IRtfListenerprocessString in class RtfListenerAdaptorpublic void processCommand(Command command, int parameter, boolean hasParameter, boolean optional)
IRtfListenerprocessCommand in interface IRtfListenerprocessCommand in class RtfListenerAdaptorCopyright © 2013–2018. All rights reserved.