public interface ConfigurationSerializer<T extends IdcClientConfig>
Modifier and Type | Method and Description |
---|---|
IdcClientManager |
readConfiguration(InputStream stream)
Read a list of configuration into a new IdcClientManager from an XML stream
|
void |
serializeConfiguration(OutputStream stream,
IdcClientManager clientManager)
Serialize all configurations in an IdcClientManager to an XML stream
|
IdcClientManager readConfiguration(InputStream stream) throws IdcClientException
stream
- XML stream that contains the list of configurationConfigurationException
IdcClientException
void serializeConfiguration(OutputStream stream, IdcClientManager clientManager) throws ConfigurationException
stream
- the XML stream that receives the list of configurationclientManager
- the IdcClientManager that contains the list of configurationConfigurationException