Class OsgiConfigUtil
java.lang.Object
io.wcm.devops.conga.plugins.sling.util.OsgiConfigUtil
Helper class for writing OSGi configurations in JSON format (.cfg.json files).
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwrite(OutputStream out, Dictionary<String, Object> properties) Writes the configuration data from theDictionaryto the givenOutputStream.
-
Method Details
-
write
Writes the configuration data from theDictionaryto the givenOutputStream.This method writes at the current location in the stream and does not close the outputstream.
- Parameters:
out- TheOutputStreamto write the configuration data to.properties- TheDictionaryto write.- Throws:
IOException- If an error occurs writing to the output stream.
-