Top Description Constructors Methods
org.springframework.core.convert.support

pack-priv final Class NumberToCharacterConverter

extends Object
implements Converter<Number, Character>
Class Inheritance
All Implemented Interfaces
org.springframework.core.convert.converter.Converter
Imports
org.springframework.core.convert.converter.Converter

Converts from any JDK-standard Number implementation to a Character.
Author
Keith Donald
Since
3.0
See Also
java.lang.Character, java.lang.Short, java.lang.Integer, java.lang.Long, java.math.BigInteger, java.lang.Float, java.lang.Double, java.math.BigDecimal

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Character
convert(Number
the source object to convert, which must be an instance of S (never null)
source
)

Implements org.springframework.core.convert.converter.Converter.convert.

Convert the source object of type S to target type T.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NumberToCharacterConverterback to summary
pack-priv NumberToCharacterConverter()

Method Detail

convertback to summary
public Character convert(Number source)

Implements org.springframework.core.convert.converter.Converter.convert.

Doc from org.springframework.core.convert.converter.Converter.convert.

Convert the source object of type S to target type T.

Parameters
source:Number

the source object to convert, which must be an instance of S (never null)

Returns:Character

the converted object, which must be an instance of T (potentially null)

Annotations
@Override