Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
Modifier and Type | Method and Description |
---|---|
T |
decode(String s)
Decode the given String into an object of type T.
|
boolean |
willDecode(String s)
Answer whether the given String can be decoded into an object of type T.
|
T decode(String s) throws DecodeException
s
- string to be decoded.DecodeException
boolean willDecode(String s)
s
- the string being tested for decodability.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.