public abstract class PrimitiveDecoders<T> extends CoderAdapter implements Decoder.Text<T>
Modifier and Type | Class and Description |
---|---|
static class |
PrimitiveDecoders.BooleanDecoder |
static class |
PrimitiveDecoders.ByteDecoder |
static class |
PrimitiveDecoders.CharacterDecoder |
static class |
PrimitiveDecoders.DoubleDecoder |
static class |
PrimitiveDecoders.FloatDecoder |
static class |
PrimitiveDecoders.IntegerDecoder |
static class |
PrimitiveDecoders.LongDecoder |
static class |
PrimitiveDecoders.ShortDecoder |
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.Class<? extends Decoder>> |
ALL |
static java.util.Map<java.lang.Class<?>,Decoder.Text<?>> |
ALL_INSTANCES |
Constructor and Description |
---|
PrimitiveDecoders() |
Modifier and Type | Method and Description |
---|---|
boolean |
willDecode(java.lang.String s)
Answer whether the given String can be decoded into an object of type T.
|
destroy, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode
public static final java.util.List<java.lang.Class<? extends Decoder>> ALL
public static final java.util.Map<java.lang.Class<?>,Decoder.Text<?>> ALL_INSTANCES
public boolean willDecode(java.lang.String s)
Decoder.Text
willDecode
in interface Decoder.Text<T>
s
- the string being tested for decodability.Copyright © 2012–2020 Oracle Corporation. All rights reserved.