|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.text.extractors.RegexpSplitter
Text splitter which identifies delimiters according to a regular expression. The regular expression can span multiple lines of the text input.
| Constructor Summary | |
RegexpSplitter(java.lang.String regexp,
boolean keepDelimiters)
Creates a new instance of MultilineSplitter. |
|
| 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 RegexpSplitter(java.lang.String regexp,
boolean keepDelimiters)
regexp - regular expressionkeepDelimiters - true to pass splitting lines to output as separate
nodes| Method Detail |
public java.lang.String[] extractText(java.lang.String text)
This implementation finds delimiters that match the regular expression.
extractText in interface ITextExtractortext - input text document
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||