|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.text.filters.SingleLineCommentStripper
Text filter which removes single-line comments from the input text document.
| Constructor Summary | |
SingleLineCommentStripper(java.lang.String startToken)
Creates a new instance of SingleLineCommentStripper. |
|
| 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 SingleLineCommentStripper(java.lang.String startToken)
startToken - beginning token of the comment| Method Detail |
public java.lang.String filterText(java.lang.String text)
This implementation removes single-line comments, from each comment token it finds, until the end of the given line.
filterText in interface ITextFiltertext - input text document
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||