public class CharSequenceValueConverter extends Object implements ValueConverter<CharSequence>
Object
, and CharSequence
s.Modifier and Type | Field and Description |
---|---|
static CharSequenceValueConverter |
INSTANCE |
Constructor and Description |
---|
CharSequenceValueConverter() |
Modifier and Type | Method and Description |
---|---|
CharSequence |
convertBoolean(boolean value) |
CharSequence |
convertByte(byte value) |
CharSequence |
convertChar(char value) |
CharSequence |
convertDouble(double value) |
CharSequence |
convertFloat(float value) |
CharSequence |
convertInt(int value) |
CharSequence |
convertLong(long value) |
CharSequence |
convertObject(Object value) |
CharSequence |
convertShort(short value) |
CharSequence |
convertTimeMillis(long value) |
boolean |
convertToBoolean(CharSequence value) |
byte |
convertToByte(CharSequence value) |
char |
convertToChar(CharSequence value) |
double |
convertToDouble(CharSequence value) |
float |
convertToFloat(CharSequence value) |
int |
convertToInt(CharSequence value) |
long |
convertToLong(CharSequence value) |
short |
convertToShort(CharSequence value) |
long |
convertToTimeMillis(CharSequence value) |
public static final CharSequenceValueConverter INSTANCE
public CharSequence convertObject(Object value)
convertObject
in interface ValueConverter<CharSequence>
public CharSequence convertInt(int value)
convertInt
in interface ValueConverter<CharSequence>
public CharSequence convertLong(long value)
convertLong
in interface ValueConverter<CharSequence>
public CharSequence convertDouble(double value)
convertDouble
in interface ValueConverter<CharSequence>
public CharSequence convertChar(char value)
convertChar
in interface ValueConverter<CharSequence>
public CharSequence convertBoolean(boolean value)
convertBoolean
in interface ValueConverter<CharSequence>
public CharSequence convertFloat(float value)
convertFloat
in interface ValueConverter<CharSequence>
public boolean convertToBoolean(CharSequence value)
convertToBoolean
in interface ValueConverter<CharSequence>
public CharSequence convertByte(byte value)
convertByte
in interface ValueConverter<CharSequence>
public byte convertToByte(CharSequence value)
convertToByte
in interface ValueConverter<CharSequence>
public char convertToChar(CharSequence value)
convertToChar
in interface ValueConverter<CharSequence>
public CharSequence convertShort(short value)
convertShort
in interface ValueConverter<CharSequence>
public short convertToShort(CharSequence value)
convertToShort
in interface ValueConverter<CharSequence>
public int convertToInt(CharSequence value)
convertToInt
in interface ValueConverter<CharSequence>
public long convertToLong(CharSequence value)
convertToLong
in interface ValueConverter<CharSequence>
public CharSequence convertTimeMillis(long value)
convertTimeMillis
in interface ValueConverter<CharSequence>
public long convertToTimeMillis(CharSequence value)
convertToTimeMillis
in interface ValueConverter<CharSequence>
public float convertToFloat(CharSequence value)
convertToFloat
in interface ValueConverter<CharSequence>
public double convertToDouble(CharSequence value)
convertToDouble
in interface ValueConverter<CharSequence>
Copyright © 2008–2024 The Netty Project. All rights reserved.