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