DefaultConversion

org.beangle.commons.conversion.impl.DefaultConversion
See theDefaultConversion companion object

Default Conversion implementation.

It register String to Boolean/Number/Date/Locale, Number to Number and Object to String buildin converters.

Attributes

Since

3.2.0

Companion
object
Graph
Supertypes
trait Conversion
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

protected def addConverter(converter: GenericConverter): Unit

Attributes

Inherited from:
AbstractGenericConversion
override def addConverter(converter: Converter[_, _]): Unit

Attributes

Definition Classes
Inherited from:
AbstractGenericConversion
override def convert[T](source: Any, target: Class[T]): T

Convert to target type.

Convert to target type.

Attributes

Definition Classes
Inherited from:
AbstractGenericConversion
protected def findConverter(sourceType: Class[_], targetType: Class[_]): GenericConverter

Attributes

Inherited from:
AbstractGenericConversion
protected def searchConverter(sourceType: Class[_], targetType: Class[_]): GenericConverter

Attributes

Inherited from:
AbstractGenericConversion

Inherited fields

val cache: TrieMap[(Class[_], Class[_]), GenericConverter]

Attributes

Inherited from:
AbstractGenericConversion
val converters: HashMap[Class[_], Map[Class[_], GenericConverter]]

Attributes

Inherited from:
AbstractGenericConversion