public static class PrimitiveDecoders.ByteDecoder extends PrimitiveDecoders<Byte>
PrimitiveDecoders.BooleanDecoder, PrimitiveDecoders.ByteDecoder, PrimitiveDecoders.CharacterDecoder, PrimitiveDecoders.DoubleDecoder, PrimitiveDecoders.FloatDecoder, PrimitiveDecoders.IntegerDecoder, PrimitiveDecoders.LongDecoder, PrimitiveDecoders.ShortDecoder
Decoder.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.
|
willDecode
destroy, init
public Byte decode(String s) throws DecodeException
Decoder.Text
s
- string to be decoded.DecodeException
- If the provided string cannot be decoded to type TCopyright © 2012–2019 Oracle Corporation. All rights reserved.