T - the configuration output typepublic interface Mapper<T>
| Modifier and Type | Method and Description |
|---|---|
T |
apply(InputStream input)
Applies this
Mapper into the given input. |
ConfigurationHelper<T> |
configurationHelper(T bean)
Creates a new
ConfigurationHelper instance recommended by this Mapper. |
T apply(InputStream input) throws IOException
Mapper into the given input.
Note: The input stream must be closed by the caller after the mapping operation.
input - the input stream to be mappedIOException - if a low-level I/O problem (such and unexpected end-of-input, or
network error) occursConfigurationHelper<T> configurationHelper(T bean)
ConfigurationHelper instance recommended by this Mapper.bean - the configuration object to be used by the helperConfigurationHelper instanceCopyright © 2022. All rights reserved.