|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ITextHandler
instances handle text events produced by ITextReader
instances. Specific
ITextReader
instances might not support all events.
Method Summary | |
void |
endParagraph()
Called when a paragraph ends |
void |
endSentence(java.lang.String sentence,
char punctuation)
Called when the sentence ended. |
void |
endText()
Called when text reading finished. |
void |
heading(int depth,
java.lang.String title)
Called when a heading was read. |
void |
startParagraph()
Called when a new paragraph starts |
void |
startSentence()
Called when a new sentence starts. |
void |
startText()
Called when text reading starts. |
void |
word(java.lang.String word)
Called when a word was read |
Method Detail |
public void startText()
public void endText()
public void startParagraph()
public void endParagraph()
public void startSentence()
public void endSentence(java.lang.String sentence, char punctuation)
sentence
- Sentence read, incl. punctuation char.punctuation
- Punctuation character terminating the sentencepublic void word(java.lang.String word)
word
- word readpublic void heading(int depth, java.lang.String title)
depth
- heading depthtitle
- heading title
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |