public class IntegerDecoder extends AbstractDecoder implements Decoder.Text<Integer>
Text Message to Integer decoderDecoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>| Modifier and Type | Field and Description |
|---|---|
static IntegerDecoder |
INSTANCE |
| Constructor and Description |
|---|
IntegerDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
decode(String s) |
boolean |
willDecode(String s) |
destroy, initpublic static final IntegerDecoder INSTANCE
public Integer decode(String s) throws DecodeException
decode in interface Decoder.Text<Integer>DecodeExceptionpublic boolean willDecode(String s)
willDecode in interface Decoder.Text<Integer>Copyright © 1995-2015 Webtide. All Rights Reserved.