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 |
---|---|
JConverter |
JConverterBuilder.build() |
Constructor and Description |
---|
Convertable(Object source,
JConverter context) |
Modifier and Type | Field and Description |
---|---|
protected JConverter |
ConverterEvaluator.context |
Modifier and Type | Method and Description |
---|---|
U |
TypedConverterProxy.apply(T source,
Type targetType,
JConverter context) |
U |
JGumConverter.apply(T source,
Type targetType,
JConverter context) |
V |
Converter.apply(T source,
Type targetType,
JConverter context) |
protected <T> T |
JGumConverterManager.convert(JGumConverter jGumConverter,
Object source,
Type targetType,
JConverter context) |
<T> T |
JGumConverterManager.convert(Object key,
Object source,
Type targetType,
JConverter context) |
abstract <T> T |
ConverterManager.convert(Object converterKey,
Object object,
Type targetType,
JConverter context) |
<T> T |
ConverterManager.convert(Object object,
Type targetType,
JConverter context) |
protected U |
JGumConverter.evalConverters(List<ConverterRegister> converterRegisters,
Object source,
Type targetType,
JConverter context) |
Constructor and Description |
---|
CheckedConverterEvaluator(T sourceObject,
Type targetType,
JConverter context) |
ConverterEvaluator(T sourceObject,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
T |
ArrayToMapConverter.apply(Map.Entry<?,?>[] source,
Type targetType,
JConverter context) |
Iterator<?> |
ArrayToIteratorConverter.apply(T[] source,
Type targetType,
JConverter context) |
Iterable<?> |
ArrayToIterableConverter.apply(T[] source,
Type targetType,
JConverter context) |
Enumeration<?> |
ArrayToEnumerationConverter.apply(T[] source,
Type targetType,
JConverter context) |
U |
ArrayToCollectionConverter.apply(T[] source,
Type targetType,
JConverter context) |
U[] |
ArrayToArrayConverter.apply(T[] source,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
Number |
CalendarToNumberConverter.apply(Calendar source,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
Iterator<?> |
EnumerationToIteratorConverter.apply(Enumeration<?> source,
Type targetType,
JConverter context) |
Iterable<?> |
EnumerationToIterableConverter.apply(Enumeration<?> source,
Type targetType,
JConverter context) |
Enumeration<?> |
EnumerationToEnumerationConverter.apply(Enumeration<?> source,
Type targetType,
JConverter context) |
T |
EnumerationToCollectionConverter.apply(Enumeration<?> source,
Type targetType,
JConverter context) |
T[] |
EnumerationToArrayConverter.apply(Enumeration<?> source,
Type targetType,
JConverter context) |
T |
EnumerationToMapConverter.apply(Enumeration<Map.Entry<?,?>> source,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
Iterator<?> |
IterableToIteratorConverter.apply(Iterable<?> source,
Type targetType,
JConverter context) |
Iterable<?> |
IterableToIterableConverter.apply(Iterable<?> source,
Type targetType,
JConverter context) |
Enumeration<?> |
IterableToEnumerationConverter.apply(Iterable<?> source,
Type targetType,
JConverter context) |
T |
IterableToCollectionConverter.apply(Iterable<?> source,
Type targetType,
JConverter context) |
T[] |
IterableToArrayConverter.apply(Iterable<?> source,
Type targetType,
JConverter context) |
T |
IterableToMapConverter.apply(Iterable<Map.Entry<?,?>> source,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
Iterator<?> |
IteratorToIteratorConverter.apply(Iterator<?> source,
Type targetType,
JConverter context) |
Iterable<?> |
IteratorToIterableConverter.apply(Iterator<?> source,
Type targetType,
JConverter context) |
Enumeration<?> |
IteratorToEnumerationConverter.apply(Iterator<?> source,
Type targetType,
JConverter context) |
T |
IteratorToCollectionConverter.apply(Iterator<?> source,
Type targetType,
JConverter context) |
T[] |
IteratorToArrayConverter.apply(Iterator<?> source,
Type targetType,
JConverter context) |
T |
IteratorToMapConverter.apply(Iterator<Map.Entry<?,?>> source,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
T |
MapToMapConverter.apply(Map<?,?> source,
Type targetType,
JConverter context) |
Iterator<?> |
MapToIteratorConverter.apply(Map<?,?> source,
Type targetType,
JConverter context) |
Iterable<?> |
MapToIterableConverter.apply(Map<?,?> source,
Type targetType,
JConverter context) |
Enumeration<?> |
MapToEnumerationConverter.apply(Map<?,?> source,
Type targetType,
JConverter context) |
T |
MapToCollectionConverter.apply(Map<?,?> source,
Type targetType,
JConverter context) |
T[] |
MapToArrayConverter.apply(Map<?,?> source,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
XMLGregorianCalendar |
NumberToXMLGregorianCalendarConverter.apply(Number source,
Type targetType,
JConverter context) |
T |
NumberToNumberConverter.apply(Number source,
Type targetType,
JConverter context) |
GregorianCalendar |
NumberToGregorianCalendarConverter.apply(Number source,
Type targetType,
JConverter context) |
Calendar |
NumberToCalendarConverter.apply(Number source,
Type targetType,
JConverter context) |
Boolean |
NumberToBooleanConverter.apply(Number source,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
String |
ObjectToStringConverter.apply(Object source,
Type targetType,
JConverter context) |
Modifier and Type | Method and Description |
---|---|
XMLGregorianCalendar |
StringToXMLGregorianCalendarConverter.apply(String source,
Type targetType,
JConverter context) |
T |
StringToNumberConverter.apply(String source,
Type targetType,
JConverter context) |
GregorianCalendar |
StringToGregorianCalendarConverter.apply(String source,
Type targetType,
JConverter context) |
Date |
StringToDateConverter.apply(String source,
Type targetType,
JConverter context) |
Character |
StringToCharacterConverter.apply(String source,
Type targetType,
JConverter context) |
Calendar |
StringToCalendarConverter.apply(String source,
Type targetType,
JConverter context) |
Boolean |
StringToBooleanConverter.apply(String source,
Type targetType,
JConverter context) |
Copyright © 2014. All rights reserved.