|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rtf.parser.AbstractCoreRTFParser
net.sourceforge.rtf.parser.AbstractDefaultRTFParser
public abstract class AbstractDefaultRTFParser
Default RTF parser which is able to parse RTF Stream (Reader) character by character. It launch events on special RTF keywords :
AbstractCoreRTFParser| Constructor Summary | |
|---|---|
AbstractDefaultRTFParser()
|
|
| Method Summary | |
|---|---|
protected abstract void |
endBookmark(java.lang.String content)
Event end bookmark. |
protected abstract void |
endRow(java.lang.String content)
Event end row. |
protected abstract void |
endUserProperty(java.lang.String content)
Event end user property. |
protected void |
handleKeyword(java.lang.String content)
Manage events RTF keyword (Row, Field, Bookmark, Page and other RTF content). |
protected abstract void |
handleText(java.lang.String content)
Event other RTF content. |
protected abstract void |
inTable(java.lang.String content)
Event current paragraph is in table. |
protected abstract void |
startBookmark(java.lang.String content)
Event start bookmark. |
protected abstract void |
startField(java.lang.String content)
Event start field. |
protected abstract void |
startPage(java.lang.String content)
Event page break. |
protected abstract void |
startRow(java.lang.String content)
Event start row. |
protected abstract void |
startUserProperty(java.lang.String content)
Event start user property. |
| Methods inherited from class net.sourceforge.rtf.parser.AbstractCoreRTFParser |
|---|
endGroup, getLevel, parse, parse, startGroup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDefaultRTFParser()
| Method Detail |
|---|
protected void handleKeyword(java.lang.String content)
throws java.io.IOException
handleKeyword in class AbstractCoreRTFParsercontent - RTF keyword.
java.io.IOException
protected abstract void startRow(java.lang.String content)
throws java.io.IOException
content - RTF start row keyword \trowd.
java.io.IOException
protected abstract void endRow(java.lang.String content)
throws java.io.IOException
content - RTF end row keyword \row.
java.io.IOException
protected abstract void inTable(java.lang.String content)
throws java.io.IOException
content - RTF in table keyword \intbl.
java.io.IOException
protected abstract void startField(java.lang.String content)
throws java.io.IOException
content - RTF end row keyword \field.
java.io.IOException
protected abstract void startBookmark(java.lang.String content)
throws java.io.IOException
content - RTF start bookmark keyword \bkmkstart.
java.io.IOException
protected abstract void endBookmark(java.lang.String content)
throws java.io.IOException
content - RTF end bookmark keyword \bkmkend.
java.io.IOException
protected abstract void startPage(java.lang.String content)
throws java.io.IOException
content - RTF start page keyword \page.
java.io.IOException
protected abstract void handleText(java.lang.String content)
throws java.io.IOException
content - other RTF content.
java.io.IOException
protected abstract void startUserProperty(java.lang.String content)
throws java.io.IOException
content - RTF start user property keyword \propname.
java.io.IOException
protected abstract void endUserProperty(java.lang.String content)
throws java.io.IOException
content - RTF end user property keyword \staticval.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||