|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.text.extractors.RegexpLineSplitter
Text splitter which splits text each time a single line matches the given regular expression. The regular expression can only span a single line of text input.
| Constructor Summary | |
RegexpLineSplitter(java.lang.String regexp,
boolean keepDelimiters)
Creates a new instance of RegexpLineSplitter. |
|
| Method Summary | |
java.lang.String[] |
extractText(java.lang.String text)
Extracts fragments of text from the input text document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RegexpLineSplitter(java.lang.String regexp,
boolean keepDelimiters)
regexp - single-line regular expressionkeepDelimiters - true to pass splitting lines to output as separate
nodes| Method Detail |
public java.lang.String[] extractText(java.lang.String text)
extractText in interface ITextExtractortext - input text document
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||