|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.stock.utils.MapConverter
public class MapConverter
Convertisseu de Timestamp
Constructor Summary | |
---|---|
MapConverter()
|
Method Summary | |
---|---|
java.lang.Object |
convert(java.lang.Class type,
java.lang.Object value)
Méthode permettant de convertir une date d'un type à l'autre |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapConverter()
Method Detail |
---|
public java.lang.Object convert(java.lang.Class type, java.lang.Object value) throws org.apache.commons.beanutils.ConversionException
convert
in interface org.apache.commons.beanutils.Converter
type
- Type de la date passée en paramètre
Les types suivants peuvent être précisés :
- String
- Timestamp
- Date
-
Calendar
value
- date à convertir en Timestamp
Timestamp
ou null en cas d'erreur
org.apache.commons.beanutils.ConversionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |