public class JavaConstantTokenizer extends Tokenizer
Constructor and Description |
---|
JavaConstantTokenizer(String tagBefore,
String tagAfter) |
Modifier and Type | Method and Description |
---|---|
boolean |
consume(CodeReader code,
HtmlCodeBuilder codeBuilder)
Tries to consume the character stream at the current reading cursor position (provided by the
CodeReader ). |
public JavaConstantTokenizer(String tagBefore, String tagAfter)
public boolean consume(CodeReader code, HtmlCodeBuilder codeBuilder)
Channel
CodeReader
). If
the character stream is consumed the method must return true and the OUTPUT object can be fed.consume
in class Channel<HtmlCodeBuilder>
code
- the handle on the input character streamcodeBuilder
- the OUTPUT that can be optionally fed by the ChannelCopyright © 2009-2012 SonarSource. All Rights Reserved.