Class ConfigurationSchema7To8Upgrade

java.lang.Object
com.espertech.esper.common.client.configuration.ConfigurationSchema7To8Upgrade

public class ConfigurationSchema7To8Upgrade extends Object
Helper to migrate schema version 7 XML configuration to schema version 8 XML configuration.
  • Constructor Details

    • ConfigurationSchema7To8Upgrade

      public ConfigurationSchema7To8Upgrade()
  • Method Details

    • upgrade

      public static String upgrade(InputStream inputStream, String name) throws ConfigurationException
      Convert a schema from the input stream
      Parameters:
      inputStream - input stream for XML document text
      name - for information purposes to name the document passed in
      Returns:
      converted XML text
      Throws:
      ConfigurationException - if the conversion failed