it.avutils.jmapper.conversions.implicit
Class ConversionHandler

java.lang.Object
  extended by it.avutils.jmapper.conversions.implicit.ConversionHandler

public final class ConversionHandler
extends Object

This Class handles conversion between primitive and wrapper types.

Author:
Alessandro Vurro

Constructor Summary
ConversionHandler()
           
 
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
 

Constructor Detail

ConversionHandler

public ConversionHandler()
Method Detail

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 type
src - source to be transformed in destination
Returns:
a string containing the transformation


Copyright © 2013. All Rights Reserved.