public static class PrimitiveDecoders.ByteDecoder extends PrimitiveDecoders<Byte>
PrimitiveDecoders.BooleanDecoder, PrimitiveDecoders.ByteDecoder, PrimitiveDecoders.CharacterDecoder, PrimitiveDecoders.DoubleDecoder, PrimitiveDecoders.FloatDecoder, PrimitiveDecoders.IntegerDecoder, PrimitiveDecoders.LongDecoder, PrimitiveDecoders.ShortDecoderDecoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>ALL, ALL_INSTANCES| Constructor and Description |
|---|
ByteDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Byte |
decode(String s)
Decode the given String into an object of type T.
|
willDecodedestroy, initpublic Byte decode(String s) throws DecodeException
Decoder.Texts - string to be decoded.DecodeException - If the provided string cannot be decoded to type TCopyright © 2012–2019 Oracle Corporation. All rights reserved.