| Package | Description |
|---|---|
| org.nuiton.util.converter |
This package contains the converter api + the format api.
|
| Modifier and Type | Method and Description |
|---|---|
FormatConverter<?> |
FormatConverterFactory.findConverter(Class<?> clazz,
FormatMap.Format format) |
FormatConverter<?> |
FormatConverterFactory.findConverter(Class<?> clazz,
FormatMap.Format format,
FormatConverter<?> defaultConverter)
Permet de retrouver le meilleur converter disponible pour l'argument
clazz
|
FormatConverter<?> |
FormatConverterFactory.getConverter(Class<?> clazz,
FormatMap.Format format) |
FormatConverter<?> |
FormatConverterFactory.getConverter(Class<?> clazz,
FormatMap.Format format,
FormatConverter<?> defaultConverter)
permet de recupere le converter pour la classe souhaitée.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FormatConverterFactory.addConverter(Class<?> clazz,
FormatMap.Format format,
FormatConverter<?> c)
Permet d'enregitrer un converter pour permettre la convertion d'une
certain type Java d'une representation vers une autre.
|
Object |
FormatConverterFactory.convert(FormatConverter<?> defaultConverter,
FormatMap.Format format,
FormatMap values,
Object... args) |
FormatConverter<?> |
FormatConverterFactory.findConverter(Class<?> clazz,
FormatMap.Format format,
FormatConverter<?> defaultConverter)
Permet de retrouver le meilleur converter disponible pour l'argument
clazz
|
FormatConverter<?> |
FormatConverterFactory.getConverter(Class<?> clazz,
FormatMap.Format format,
FormatConverter<?> defaultConverter)
permet de recupere le converter pour la classe souhaitée.
|
Object |
FormatConverterFactory.unconvert(FormatConverter<?> defaultConverter,
FormatMap.Format format,
FormatMap values,
Object... args) |
Copyright © 2004-2012 CodeLutin. All Rights Reserved.