|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.smartlab.web.bean.ConverterManager
public class ConverterManager
TODO documentation
Constructor Summary | |
---|---|
ConverterManager()
|
Method Summary | |
---|---|
java.lang.Object |
convert(java.lang.Class type,
java.lang.Object value,
java.util.Locale locale)
TODO documentation |
static ConverterManager |
getDefault()
TODO documentation |
void |
setConverter(java.lang.Class type,
Converter converter)
Replaces a converter for a specified class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConverterManager()
Method Detail |
---|
public java.lang.Object convert(java.lang.Class type, java.lang.Object value, java.util.Locale locale) throws ConversionException
type
- value
- locale
-
ConversionException
public static ConverterManager getDefault()
public void setConverter(java.lang.Class type, Converter converter)
type
- the class for which the converter will be replaced.converter
- the converter to use for the specified class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |