public class JSONFormat extends Object implements org.apache.tamaya.format.ConfigurationFormat
ConfigurationFormat
able to read configuration properties represented in JSON| Modifier and Type | Field and Description |
|---|---|
static String |
JOHNZON_SUPPORTS_COMMENTS_PROP
Property that make Johnzon accept commentc.
|
| Constructor and Description |
|---|
JSONFormat()
Constructor, itniaitlizing zhe JSON reader factory.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(URL url) |
String |
getName() |
org.apache.tamaya.format.ConfigurationData |
readConfiguration(String resource,
InputStream inputStream) |
public static final String JOHNZON_SUPPORTS_COMMENTS_PROP
public JSONFormat()
public String getName()
getName in interface org.apache.tamaya.format.ConfigurationFormatpublic boolean accepts(URL url)
accepts in interface org.apache.tamaya.format.ConfigurationFormatpublic org.apache.tamaya.format.ConfigurationData readConfiguration(String resource, InputStream inputStream)
readConfiguration in interface org.apache.tamaya.format.ConfigurationFormatCopyright © 2015–2016 Apache Software Foundation. All rights reserved.