Class JsonConfigurationSerializer
java.lang.Object
org.apache.sling.installer.core.impl.serializer.JsonConfigurationSerializer
- All Implemented Interfaces:
- ConfigurationSerializer
Serializes dictionary configuration objects (as specified in the configuration admin) into JSON format.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidserialize(Dictionary<String, Object> dictionary, OutputStream outputStream) Serializes the given dictionary (usually retrieved from OSGi Config Admin) into a specific format.
- 
Constructor Details- 
JsonConfigurationSerializerpublic JsonConfigurationSerializer()
 
- 
- 
Method Details- 
serializepublic void serialize(Dictionary<String, Object> dictionary, OutputStream outputStream) throws IOExceptionDescription copied from interface:ConfigurationSerializerSerializes the given dictionary (usually retrieved from OSGi Config Admin) into a specific format. Leaves the output stream open.- Specified by:
- serializein interface- ConfigurationSerializer
- Throws:
- IOException
 
 
-