public class PropertiesToJSONObjectMapper extends Object implements Mapper<org.json.JSONObject>
Mapper that loads Properties from a given InputStream and
converts it into a JSONObject.| Constructor and Description |
|---|
PropertiesToJSONObjectMapper() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
apply(InputStream inputStream) |
ConfigurationHelper<org.json.JSONObject> |
configurationHelper(org.json.JSONObject jsonObject) |
public org.json.JSONObject apply(InputStream inputStream) throws IOException
apply in interface Mapper<org.json.JSONObject>IOExceptionpublic ConfigurationHelper<org.json.JSONObject> configurationHelper(org.json.JSONObject jsonObject)
configurationHelper in interface Mapper<org.json.JSONObject>Copyright © 2021. All rights reserved.