public class JSONFormat extends Object implements ConfigurationFormat
ConfigurationFormat
able to read configuration properties represented in JSON| Constructor and Description |
|---|
JSONFormat() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(URL url) |
String |
getName() |
ConfigurationData |
readConfiguration(String resource,
InputStream inputStream) |
public String getName()
getName in interface ConfigurationFormatpublic boolean accepts(URL url)
accepts in interface ConfigurationFormatpublic ConfigurationData readConfiguration(String resource, InputStream inputStream)
readConfiguration in interface ConfigurationFormatCopyright © 2015 Apache Software Foundation. All rights reserved.