public class CharacterDecoder extends AbstractDecoder implements javax.websocket.Decoder.Text<java.lang.Character>
Decoder.Text
Message to Character
decoderModifier and Type | Field and Description |
---|---|
static CharacterDecoder |
INSTANCE |
Constructor and Description |
---|
CharacterDecoder() |
Modifier and Type | Method and Description |
---|---|
java.lang.Character |
decode(java.lang.String s) |
boolean |
willDecode(java.lang.String s) |
destroy, init
public static final CharacterDecoder INSTANCE
public java.lang.Character decode(java.lang.String s) throws javax.websocket.DecodeException
decode
in interface javax.websocket.Decoder.Text<java.lang.Character>
javax.websocket.DecodeException
public boolean willDecode(java.lang.String s)
willDecode
in interface javax.websocket.Decoder.Text<java.lang.Character>