org.nuiton.util.converter
Class URLConverter

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

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

classe pour convertir une chaine en un objet URL.

Since:
1.3 (replace org.nuiton.util.URLConverter).
Author:
tchemit

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

Constructor Detail

URLConverter

public URLConverter()
Method Detail

convert

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

valueOf

protected URL valueOf(String value)

isEnabled

protected boolean isEnabled(Class<?> aClass)

getType

public Class<?> getType()


Copyright © 2004-2011 CodeLutin. All Rights Reserved.