Package org.apache.sling.feature.io.json
Class ConfigurationJSONWriter
java.lang.Object
org.apache.sling.feature.io.json.ConfigurationJSONWriter
JSON writer for configurations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
write
(Writer writer, Configurations configs) Writes the configurations to the writer.
-
Constructor Details
-
ConfigurationJSONWriter
public ConfigurationJSONWriter()
-
-
Method Details
-
write
Writes the configurations to the writer. The writer is not closed.- Parameters:
writer
- Writerconfigs
- List of configurations- Throws:
IOException
- If writing fails
-