Package org.apache.sling.feature.io
Class ConfiguratorUtil
- java.lang.Object
-
- org.apache.sling.feature.io.ConfiguratorUtil
-
@Deprecated public class ConfiguratorUtil extends Object
Deprecated.UseConfigurations
instead.Helper class to write JSON structures as defined in OSGi Configurator Specification 1.0.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static javax.json.stream.JsonGenerator
newGenerator(Writer writer)
Deprecated.static void
writeConfiguration(Writer writer, Dictionary<String,Object> props)
Deprecated.Write the OSGi configuration to a JSON structure.static void
writeConfiguration(javax.json.stream.JsonGenerator generator, Dictionary<String,Object> props)
Deprecated.
-
-
-
Method Detail
-
newGenerator
protected static final javax.json.stream.JsonGenerator newGenerator(Writer writer)
Deprecated.
-
writeConfiguration
public static void writeConfiguration(Writer writer, Dictionary<String,Object> props)
Deprecated.Write the OSGi configuration to a JSON structure. The writer is not closed.- Parameters:
writer
- Writerprops
- The configuration properties to write
-
writeConfiguration
public static void writeConfiguration(javax.json.stream.JsonGenerator generator, Dictionary<String,Object> props)
Deprecated.
-
-