br.com.caelum.iogi.conversion
Class IntegerPrimitiveConverter

java.lang.Object
  extended by br.com.caelum.iogi.conversion.TypeConverter<Integer>
      extended by br.com.caelum.iogi.conversion.IntegerPrimitiveConverter
All Implemented Interfaces:
Instantiator<Integer>

public class IntegerPrimitiveConverter
extends TypeConverter<Integer>


Constructor Summary
IntegerPrimitiveConverter()
           
 
Method Summary
protected  Integer convert(String stringValue, Target<?> to)
           
 boolean isAbleToInstantiate(Target<?> target)
           
 
Methods inherited from class br.com.caelum.iogi.conversion.TypeConverter
instantiate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerPrimitiveConverter

public IntegerPrimitiveConverter()
Method Detail

isAbleToInstantiate

public boolean isAbleToInstantiate(Target<?> target)

convert

protected Integer convert(String stringValue,
                          Target<?> to)
Specified by:
convert in class TypeConverter<Integer>


Copyright © 2014. All Rights Reserved.