Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
Modifier and Type | Method and Description |
---|---|
T |
decode(java.lang.String s)
Decode the given String into an object of type T.
|
boolean |
willDecode(java.lang.String s)
Answer whether the given String can be decoded into an object of type T.
|
T decode(java.lang.String s) throws DecodeException
s
- string to be decoded.DecodeException
- If the provided string cannot be decoded to type Tboolean willDecode(java.lang.String s)
s
- the string being tested for decodability.