fr.expression4j.config
Class ConfigurationUtil

java.lang.Object
  extended by fr.expression4j.config.ConfigurationUtil

public final class ConfigurationUtil
extends java.lang.Object


Constructor Summary
ConfigurationUtil()
           
 
Method Summary
static void loadConfig(java.io.InputStream xmlConfigStream)
          Load the specified expression4j configuration
static void loadDefaultConfig()
          Load the default expression4j configuration.
static void saveConfig(java.io.OutputStream xmlConfigStream)
          write expression4j configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationUtil

public ConfigurationUtil()
Method Detail

loadDefaultConfig

public static final void loadDefaultConfig()
Load the default expression4j configuration.


loadConfig

public static final void loadConfig(java.io.InputStream xmlConfigStream)
                             throws ConfigurationException
Load the specified expression4j configuration

Parameters:
xmlConfigStream - stream from with read data.
Throws:
ConfigurationException

saveConfig

public static final void saveConfig(java.io.OutputStream xmlConfigStream)
                             throws ConfigurationException
write expression4j configuration

Parameters:
xmlConfigStream - stream where to write configuration.
Throws:
ConfigurationException