org.nuiton.util.converter
Class VersionConverter

java.lang.Object
  extended by org.nuiton.util.converter.VersionConverter
All Implemented Interfaces:
org.apache.commons.beanutils.Converter

public class VersionConverter
extends Object
implements org.apache.commons.beanutils.Converter

classe pour convertir une chaine en un objet Version.

Since:
1.3 (replace org.nuiton.util.VersionConverter).
Author:
tchemit
See Also:
Version

Constructor Summary
VersionConverter()
           
 
Method Summary
 Object convert(Class aClass, Object value)
           
 Class<?> getType()
           
protected  boolean isEnabled(Class<?> aClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionConverter

public VersionConverter()
Method Detail

convert

public Object convert(Class aClass,
                      Object value)
Specified by:
convert in interface org.apache.commons.beanutils.Converter

isEnabled

protected boolean isEnabled(Class<?> aClass)

getType

public Class<?> getType()


Copyright © 2004-2010 CodeLutin. All Rights Reserved.