Package | Description |
---|---|
org.jconverter |
This package provides the
JConverter class to convert objects between distinct types. |
org.jconverter.converter |
This package provides classes implementing the core object conversion functionality.
|
org.jconverter.converter.catalog.array | |
org.jconverter.converter.catalog.calendar | |
org.jconverter.converter.catalog.enumeration | |
org.jconverter.converter.catalog.iterable | |
org.jconverter.converter.catalog.iterator | |
org.jconverter.converter.catalog.map | |
org.jconverter.converter.catalog.number | |
org.jconverter.converter.catalog.object | |
org.jconverter.converter.catalog.string |
Modifier and Type | Method and Description |
---|---|
void |
JConverterBuilder.register(Converter<?,?> converter)
Registers a converter.
|
void |
JConverterBuilder.register(Object key,
Converter<?,?> converter)
Registers a converter under a given key.
|
Modifier and Type | Class and Description |
---|---|
class |
JGumConverter<T,U> |
class |
TypedConverter<T,U>
A converter that explicitly specifies its source and target types.
|
class |
TypedConverterProxy<T,U> |
Modifier and Type | Method and Description |
---|---|
Converter<T,U> |
TypedConverterProxy.getConverter() |
Modifier and Type | Method and Description |
---|---|
static <T,V> ChainOfResponsibility<Converter<T,V>,V> |
ConverterManager.chainConverters(List<Converter<T,V>> converters) |
List<Converter<?,?>> |
ConverterRegister.orderedConverters(Type targetType) |
Modifier and Type | Method and Description |
---|---|
U |
ConverterEvaluator.apply(Converter<T,U> converter)
Evaluate a converter with the evaluator source object, target type and context.
|
U |
CheckedConverterEvaluator.apply(Converter<T,U> converter) |
static <T,U> TypedConverterProxy<T,U> |
TypedConverterProxy.forConverter(Converter<T,U> converter) |
static <T,U> TypedConverter<T,U> |
TypedConverter.forConverter(Converter<T,U> converter) |
void |
ConverterManager.register(Converter<?,?> converter) |
void |
JGumConverterManager.register(Object key,
Converter<?,?> converter) |
abstract void |
ConverterManager.register(Object converterKey,
Converter<?,?> converter) |
Modifier and Type | Method and Description |
---|---|
static <T,V> ChainOfResponsibility<Converter<T,V>,V> |
ConverterManager.chainConverters(List<Converter<T,V>> converters) |
Constructor and Description |
---|
TypedConverterProxy(Converter<T,U> converter,
Type sourceType,
Type returnType) |
Constructor and Description |
---|
ConverterRegisterEvaluator(Function<Converter<T,U>,U> converterEvaluator,
Type targetType) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayToArrayConverter<T,U> |
class |
ArrayToCollectionConverter<T,U extends Collection<?>> |
class |
ArrayToEnumerationConverter<T> |
class |
ArrayToIterableConverter<T> |
class |
ArrayToIteratorConverter<T> |
class |
ArrayToMapConverter<T extends Map<?,?>> |
Modifier and Type | Class and Description |
---|---|
class |
CalendarToNumberConverter |
Modifier and Type | Class and Description |
---|---|
class |
EnumerationToArrayConverter<T> |
class |
EnumerationToCollectionConverter<T extends Collection<?>> |
class |
EnumerationToEnumerationConverter |
class |
EnumerationToIterableConverter |
class |
EnumerationToIteratorConverter |
class |
EnumerationToMapConverter<T extends Map<?,?>> |
Modifier and Type | Class and Description |
---|---|
class |
IterableToArrayConverter<T> |
class |
IterableToCollectionConverter<T extends Collection<?>> |
class |
IterableToEnumerationConverter |
class |
IterableToIterableConverter |
class |
IterableToIteratorConverter |
class |
IterableToMapConverter<T extends Map<?,?>> |
Modifier and Type | Class and Description |
---|---|
class |
IteratorToArrayConverter<T> |
class |
IteratorToCollectionConverter<T extends Collection<?>> |
class |
IteratorToEnumerationConverter |
class |
IteratorToIterableConverter |
class |
IteratorToIteratorConverter |
class |
IteratorToMapConverter<T extends Map<?,?>> |
Modifier and Type | Class and Description |
---|---|
class |
MapToArrayConverter<T> |
class |
MapToCollectionConverter<T extends Collection<?>> |
class |
MapToEnumerationConverter |
class |
MapToIterableConverter |
class |
MapToIteratorConverter |
class |
MapToMapConverter<T extends Map<?,?>> |
Modifier and Type | Class and Description |
---|---|
class |
NumberToBooleanConverter |
class |
NumberToCalendarConverter |
class |
NumberToGregorianCalendarConverter |
class |
NumberToNumberConverter<T extends Number> |
class |
NumberToXMLGregorianCalendarConverter |
Modifier and Type | Class and Description |
---|---|
class |
ObjectToStringConverter |
Modifier and Type | Class and Description |
---|---|
class |
StringToBooleanConverter |
class |
StringToCalendarConverter |
class |
StringToCharacterConverter |
class |
StringToDateConverter |
class |
StringToGregorianCalendarConverter |
class |
StringToNumberConverter<T extends Number> |
class |
StringToXMLGregorianCalendarConverter |
Copyright © 2014. All rights reserved.