fr.paris.lutece.plugins.stock.utils
Class IntegerConverter

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.utils.IntegerConverter
All Implemented Interfaces:
org.apache.commons.beanutils.Converter

public class IntegerConverter
extends java.lang.Object
implements org.apache.commons.beanutils.Converter

Converter of Integer. Set null if empty string is provided.


Constructor Summary
IntegerConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerConverter

public IntegerConverter()
Method Detail

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value)
                         throws org.apache.commons.beanutils.ConversionException

Specified by:
convert in interface org.apache.commons.beanutils.Converter
Throws:
org.apache.commons.beanutils.ConversionException


Copyright © 2012 Mairie de Paris. All Rights Reserved.