it.avutils.jmapper.conversions.implicit
Class ConversionHandler
java.lang.Object
it.avutils.jmapper.conversions.implicit.ConversionHandler
public final class ConversionHandler
- extends Object
This Class handles conversion between primitive and wrapper types.
- Author:
- Alessandro Vurro
|
Method Summary |
static String |
getConversion(ConversionType conversionType,
Object src)
Returns a String that contains a literal conversion from source to destination defined from conversionType parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConversionHandler
public ConversionHandler()
getConversion
public static String getConversion(ConversionType conversionType,
Object src)
- Returns a String that contains a literal conversion from source to destination defined from conversionType parameter.
- Parameters:
conversionType - defines the conversion typesrc - source to be transformed in destination
- Returns:
- a string containing the transformation
Copyright © 2013. All Rights Reserved.