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