public class ReaderDecoder extends CoderAdapter implements Decoder.Text<java.io.Reader>
Decoder for Reader.Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>| Constructor and Description | 
|---|
| ReaderDecoder() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.io.Reader | 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. | 
destroy, initpublic boolean willDecode(java.lang.String s)
Decoder.TextwillDecode in interface Decoder.Text<java.io.Reader>s - the string being tested for decodability.public java.io.Reader decode(java.lang.String s)
                      throws DecodeException
Decoder.Textdecode in interface Decoder.Text<java.io.Reader>s - string to be decoded.DecodeException - If the provided string cannot be decoded to type TCopyright © 2012–2020 Oracle Corporation. All rights reserved.