public class PropertiesMapper extends Object implements Mapper<Properties>
| Constructor and Description |
|---|
PropertiesMapper() |
| Modifier and Type | Method and Description |
|---|---|
Properties |
apply(InputStream inputStream)
Applies this
Mapper into the given input. |
ConfigurationHelper<Properties> |
configurationHelper(Properties properties)
Creates a new
ConfigurationHelper instance recommended by this Mapper. |
public Properties apply(InputStream inputStream) throws IOException
MapperMapper into the given input.apply in interface Mapper<Properties>inputStream - the input stream to be mappedIOException - if a low-level I/O problem (such and unexpected end-of-input, or
network error) occurspublic ConfigurationHelper<Properties> configurationHelper(Properties properties)
MapperConfigurationHelper instance recommended by this Mapper.configurationHelper in interface Mapper<Properties>properties - the configuration object to be used by the helperConfigurationHelper instanceCopyright © 2021. All rights reserved.