public final class UnsupportedValueConverter<V> extends Object implements ValueConverter<V>
UnsupportedOperationException
will be thrown from all ValueConverter
methods.Modifier and Type | Method and Description |
---|---|
V |
convertBoolean(boolean value) |
V |
convertByte(byte value) |
V |
convertChar(char value) |
V |
convertDouble(double value) |
V |
convertFloat(float value) |
V |
convertInt(int value) |
V |
convertLong(long value) |
V |
convertObject(Object value) |
V |
convertShort(short value) |
V |
convertTimeMillis(long value) |
boolean |
convertToBoolean(V value) |
byte |
convertToByte(V value) |
char |
convertToChar(V value) |
double |
convertToDouble(V value) |
float |
convertToFloat(V value) |
int |
convertToInt(V value) |
long |
convertToLong(V value) |
short |
convertToShort(V value) |
long |
convertToTimeMillis(V value) |
static <V> UnsupportedValueConverter<V> |
instance() |
public static <V> UnsupportedValueConverter<V> instance()
public V convertObject(Object value)
convertObject
in interface ValueConverter<V>
public V convertBoolean(boolean value)
convertBoolean
in interface ValueConverter<V>
public boolean convertToBoolean(V value)
convertToBoolean
in interface ValueConverter<V>
public V convertByte(byte value)
convertByte
in interface ValueConverter<V>
public byte convertToByte(V value)
convertToByte
in interface ValueConverter<V>
public V convertChar(char value)
convertChar
in interface ValueConverter<V>
public char convertToChar(V value)
convertToChar
in interface ValueConverter<V>
public V convertShort(short value)
convertShort
in interface ValueConverter<V>
public short convertToShort(V value)
convertToShort
in interface ValueConverter<V>
public V convertInt(int value)
convertInt
in interface ValueConverter<V>
public int convertToInt(V value)
convertToInt
in interface ValueConverter<V>
public V convertLong(long value)
convertLong
in interface ValueConverter<V>
public long convertToLong(V value)
convertToLong
in interface ValueConverter<V>
public V convertTimeMillis(long value)
convertTimeMillis
in interface ValueConverter<V>
public long convertToTimeMillis(V value)
convertToTimeMillis
in interface ValueConverter<V>
public V convertFloat(float value)
convertFloat
in interface ValueConverter<V>
public float convertToFloat(V value)
convertToFloat
in interface ValueConverter<V>
public V convertDouble(double value)
convertDouble
in interface ValueConverter<V>
public double convertToDouble(V value)
convertToDouble
in interface ValueConverter<V>
Copyright © 2008–2024 The Netty Project. All rights reserved.