Class OsgiConfigUtil
- java.lang.Object
-
- io.wcm.devops.conga.plugins.sling.util.OsgiConfigUtil
-
public final class OsgiConfigUtil extends Object
Helper class for writing OSGi configurations in JSON format (.cfg.json files).
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
write(OutputStream out, Dictionary<String,Object> properties)
Writes the configuration data from theDictionary
to the givenOutputStream
.
-
-
-
Method Detail
-
write
public static void write(OutputStream out, Dictionary<String,Object> properties) throws IOException
Writes the configuration data from theDictionary
to the givenOutputStream
.This method writes at the current location in the stream and does not close the outputstream.
- Parameters:
out
- TheOutputStream
to write the configuration data to.properties
- TheDictionary
to write.- Throws:
IOException
- If an error occurs writing to the output stream.
-
-