public class JSONFormat extends Object implements ConfigurationFormat
ConfigurationFormat
able to read configuration properties represented in JSONConstructor 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 ConfigurationFormat
public boolean accepts(URL url)
accepts
in interface ConfigurationFormat
public ConfigurationData readConfiguration(String resource, InputStream inputStream)
readConfiguration
in interface ConfigurationFormat
Copyright © 2015 Apache Software Foundation. All rights reserved.