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