org.springframework.core.convert.converter
Class GenericConverter.ConvertiblePair
java.lang.Object
org.springframework.core.convert.converter.GenericConverter.ConvertiblePair
- Enclosing interface:
- GenericConverter
public static final class GenericConverter.ConvertiblePair
- extends Object
Holder for a source-to-target class pair.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericConverter.ConvertiblePair
public GenericConverter.ConvertiblePair(Class<?> sourceType,
Class<?> targetType)
- Create a new source-to-target pair.
- Parameters:
sourceType
- the source typetargetType
- the target type
getSourceType
public Class<?> getSourceType()
getTargetType
public Class<?> getTargetType()