public class DefaultConverterRegistry extends Object implements ConverterRegistry
Constructor and Description |
---|
DefaultConverterRegistry() |
Modifier and Type | Method and Description |
---|---|
Converter |
getConverter(Class<?> valueType)
Returns a
Converter which can be used for the supplied value type |
static List<Class<?>> |
getSupertypes(Class<?> type) |
void |
registerConverter(Converter converter) |
void |
registerConverter(ConverterProvider provider) |
protected <T> java.util.stream.Stream<T> |
serviceStream(Class<T> serviceClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getRequiredConverter, getRequiredConverter
public Converter getConverter(Class<?> valueType)
ConverterRegistry
Converter
which can be used for the supplied value typegetConverter
in interface ConverterRegistry
valueType
- the value typepublic void registerConverter(Converter converter)
public void registerConverter(ConverterProvider provider)
protected <T> java.util.stream.Stream<T> serviceStream(Class<T> serviceClass)
Copyright © 2012-2016 Savoir Technologies, Inc.. All Rights Reserved.