public final class ConverterFacade extends Object implements Converter
Converter
implementations
preventing access to any public API in the implementation,
other than that specified by Converter
.
This implementation can be used to prevent registered Converter
implementations that provide configuration options from being
retrieved and modified.Constructor and Description |
---|
ConverterFacade(Converter converter)
Construct a converter which delegates to the specified
Converter implementation. |
Modifier and Type | Method and Description |
---|---|
<T> T |
convert(Class<T> type,
Object value)
Convert the input object into an output object of the
specified type by delegating to the underlying
Converter
implementation. |
String |
toString()
Provide a String representation of this facade implementation
sand the underlying
Converter it delegates to. |
public ConverterFacade(Converter converter)
Converter
implementation.converter
- The converter to delegate toCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.