public class ChannelDispatcher<O> extends Channel<O>
Modifier and Type | Class and Description |
---|---|
static class |
ChannelDispatcher.Builder |
Modifier and Type | Method and Description |
---|---|
static ChannelDispatcher.Builder |
builder()
Get a Builder instance to build a new ChannelDispatcher
|
boolean |
consume(CodeReader code,
O output)
Tries to consume the character stream at the current reading cursor position (provided by the
CodeReader ). |
public boolean consume(CodeReader code, O output)
Channel
CodeReader
). If
the character stream is consumed the method must return true and the OUTPUT object can be fed.public static ChannelDispatcher.Builder builder()
Copyright © 2009–2017 SonarSource. All rights reserved.