Class ConfigurationSchema7To8Upgrade
java.lang.Object
com.espertech.esper.common.client.configuration.ConfigurationSchema7To8Upgrade
Helper to migrate schema version 7 XML configuration to schema version 8 XML configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
upgrade
(InputStream inputStream, String name) Convert a schema from the input stream
-
Constructor Details
-
ConfigurationSchema7To8Upgrade
public ConfigurationSchema7To8Upgrade()
-
-
Method Details
-
upgrade
Convert a schema from the input stream- Parameters:
inputStream
- input stream for XML document textname
- for information purposes to name the document passed in- Returns:
- converted XML text
- Throws:
ConfigurationException
- if the conversion failed
-