public class GuavaConverterFactory extends Object implements ConverterFactory
ConverterFactory for holding the Converter classes for Google Guava support.
Supported Converter types are:
CacheBuilderSpec through CacheBuilderSpecConverterHashCode through HashCodeConverterHostAndPort through HostAndPortConverterHostSpecifier through HostSpecifierConverterInternetDomainName through InternetDomainNameConverterMediaType through MediaTypeConverterUnsignedInteger through UnsignedIntegerConverterUnsignedLong through UnsignedLongConverter| Constructor and Description |
|---|
GuavaConverterFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> Class<? extends Converter<T>> |
getConverter(Class<T> classType)
Finds and returns a
Converter for the provided class type. |
public <T> Class<? extends Converter<T>> getConverter(Class<T> classType)
Converter for the provided class type.getConverter in interface ConverterFactoryT - Type of the Converter to getclassType - The class type for which to find and return a ConverterConverter for the requested class typeCopyright © 2022. All rights reserved.