com.sun.im.provider
Interface ConfigReader


public interface ConfigReader

Author:
Rahul

Method Summary
 java.lang.String getConfigValue(java.lang.String parameter)
          Reads a config value from the configuration
 java.lang.String getConfigValue(java.lang.String parameter, java.lang.String defaultValue)
          Reads a config value from the configuration
 

Method Detail

getConfigValue

public java.lang.String getConfigValue(java.lang.String parameter)
Reads a config value from the configuration

Parameters:
parameter - The parameter who value needs to be read from the configuration file.
Returns:
The value of the parameter. null if the parameter is not defined in the configuration

getConfigValue

public java.lang.String getConfigValue(java.lang.String parameter,
                                       java.lang.String defaultValue)
Reads a config value from the configuration

Parameters:
parameter - The parameter who value needs to be read from the configuration file.
Returns:
The value of the parameter. null if the parameter is not defined in the configuration