Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.servlet.util
Class ConfigUtils

java.lang.Object
  |
  +--oracle.cabo.servlet.util.ConfigUtils

public class ConfigUtils
extends java.lang.Object

Utilities for working with the ServletConfig API.


Constructor Summary
ConfigUtils()
           
 
Method Summary
static boolean getBooleanInitParameter(javax.servlet.ServletConfig config, java.lang.String key, boolean defaultValue)
          Return a boolean configuration parameter, ignoring case.
static java.lang.String getInitParameterIgnoreCase(javax.servlet.ServletConfig config, java.lang.String key)
          Return a configuration parameter, ignoring case.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigUtils

public ConfigUtils()
Method Detail

getBooleanInitParameter

public static boolean getBooleanInitParameter(javax.servlet.ServletConfig config,
                                              java.lang.String key,
                                              boolean defaultValue)
Return a boolean configuration parameter, ignoring case. This method first looks for a servlet initialization parameter on the ServletConfig object. If no servlet initialization parameter is found, and the application is running in a Servlet 2.2-compliant engine, this method looks for a context initialization parameter with the same key on the ServletContext object.

getInitParameterIgnoreCase

public static java.lang.String getInitParameterIgnoreCase(javax.servlet.ServletConfig config,
                                                          java.lang.String key)
Return a configuration parameter, ignoring case. This method first looks for a servlet initialization parameter on the ServletConfig object. If no servlet initialization parameter is found, and the application is running in a Servlet 2.2-compliant engine, this method looks for a context initialization parameter with the same key on the ServletContext object.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.