|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.text.filters.MultiLineCommentStripper
Text filter which removes multi-line comments from the input text document.
| Constructor Summary | |
MultiLineCommentStripper(java.lang.String startToken,
java.lang.String endToken)
Creates a new instance of MultiLineCommentStripper. |
|
| Method Summary | |
java.lang.String |
filterText(java.lang.String text)
Sends input document through a modifying filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MultiLineCommentStripper(java.lang.String startToken,
java.lang.String endToken)
startToken - beginning token of the commentendToken - ending token of the comment| Method Detail |
public java.lang.String filterText(java.lang.String text)
This implementation removes multiple-line comments, from each starting comment token it finds, until the end of the ending comment token.
filterText in interface ITextFiltertext - input text document
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||