lumis.util.converter
Class ConvertUtil
java.lang.Object
lumis.util.converter.ConvertUtil
public class ConvertUtil
- extends Object
This class offers utility conversion methods.
- Since:
- 4.0.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELEGATE_TO_REGISTERED_CONVERTER
public static final IConverter DELEGATE_TO_REGISTERED_CONVERTER
- A converter that delegates calls to it to a registered converter.
- Since:
- 4.0.4
- See Also:
DelegateToRegisteredConverter
ConvertUtil
public ConvertUtil()
register
public static void register(Class type,
Class<? extends IConverter> converterClass)
deregister
public static void deregister(Class type)
createConverter
public static IConverter createConverter(Class type)
throws UnsupportedConversionTypeException
- Throws:
UnsupportedConversionTypeException
convert
public static <T> T convert(Class<T> type,
Object value,
Locale locale,
String pattern)
convert
public static <T,R extends Collection<T>> Collection<T> convert(Class<T> valueType,
Iterable input,
R output,
Locale locale,
String pattern)
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.