Interface ConfigurationSerializer
- All Known Implementing Classes:
ConfigConfigurationSerializer
,JsonConfigurationSerializer
,PropertiesConfigurationSerializer
public interface ConfigurationSerializer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(@NotNull Dictionary<String, Object> dictionary, @NotNull OutputStream outputStream) Serializes the given dictionary (usually retrieved from OSGi Config Admin) into a specific format.
-
Method Details
-
serialize
void serialize(@NotNull @NotNull Dictionary<String, Object> dictionary, @NotNull @NotNull OutputStream outputStream) throws IOExceptionSerializes the given dictionary (usually retrieved from OSGi Config Admin) into a specific format. Leaves the output stream open.- Parameters:
dictionary
-outputStream
-- Throws:
IOException
-