net.nutch.parse.rtf
Class RTFParserDelegateImpl
java.lang.Object
net.nutch.parse.rtf.RTFParserDelegateImpl
- All Implemented Interfaces:
- com.etranslate.tm.processing.rtf.RTFParserDelegate
- public class RTFParserDelegateImpl
- extends Object
- implements com.etranslate.tm.processing.rtf.RTFParserDelegate
A parser delegate for handling rtf events.
- Author:
- Andy Hedges
Fields inherited from interface com.etranslate.tm.processing.rtf.RTFParserDelegate |
IN_COLORTBL, IN_DOCUMENT, IN_FILETBL, IN_FONTTBL, IN_INFO, IN_LISTTABLE, IN_PNTEXT, IN_REVTBL, IN_STYLE, IN_STYLESHEET, NO_STYLE, VERSION |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RTFParserDelegateImpl
public RTFParserDelegateImpl()
text
public void text(String text,
String style,
int context)
- Specified by:
text
in interface com.etranslate.tm.processing.rtf.RTFParserDelegate
controlSymbol
public void controlSymbol(String controlSymbol,
int context)
- Specified by:
controlSymbol
in interface com.etranslate.tm.processing.rtf.RTFParserDelegate
controlWord
public void controlWord(String controlWord,
int value,
int context)
- Specified by:
controlWord
in interface com.etranslate.tm.processing.rtf.RTFParserDelegate
openGroup
public void openGroup(int depth)
- Specified by:
openGroup
in interface com.etranslate.tm.processing.rtf.RTFParserDelegate
closeGroup
public void closeGroup(int depth)
- Specified by:
closeGroup
in interface com.etranslate.tm.processing.rtf.RTFParserDelegate
styleList
public void styleList(List styles)
- Specified by:
styleList
in interface com.etranslate.tm.processing.rtf.RTFParserDelegate
startDocument
public void startDocument()
- Specified by:
startDocument
in interface com.etranslate.tm.processing.rtf.RTFParserDelegate
endDocument
public void endDocument()
- Specified by:
endDocument
in interface com.etranslate.tm.processing.rtf.RTFParserDelegate
getText
public String getText()
getMetaData
public Properties getMetaData()
Copyright © 2005 The Nutch Organization.