Package org.apache.sling.feature.io.json
Class ConfigurationJSONWriter
- java.lang.Object
-
- org.apache.sling.feature.io.json.ConfigurationJSONWriter
-
public class ConfigurationJSONWriter extends Object
JSON writer for configurations
-
-
Constructor Summary
Constructors Constructor Description ConfigurationJSONWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
write(Writer writer, Configurations configs)
Writes the configurations to the writer.
-
-
-
Method Detail
-
write
public static void write(Writer writer, Configurations configs) throws IOException
Writes the configurations to the writer. The writer is not closed.- Parameters:
writer
- Writerconfigs
- List of configurations- Throws:
IOException
- If writing fails
-
-