@Deprecated public final class ServletConfigPropertyReader extends Object implements PropertyReader
PropertyReader that returns the
initialization properties from a ServletConfig object.| Constructor and Description |
|---|
ServletConfigPropertyReader(ServletConfig servletConfig)
Deprecated.
Constructs a new
ServletConfigPropertyReader. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
Compares this object with the specified argument for equality.
|
String |
get(String name)
Deprecated.
Retrieves the value of the property with the specified name.
|
Iterator |
getNames()
Deprecated.
Returns an
Iterator that returns all property names. |
int |
hashCode()
Deprecated.
Returns a hash code value for this object.
|
int |
size()
Deprecated.
Determines the number of properties.
|
public ServletConfigPropertyReader(ServletConfig servletConfig) throws IllegalArgumentException
ServletConfigPropertyReader.servletConfig - the ServletConfig object, cannot be null.IllegalArgumentException - if servletConfig == null.public String get(String name) throws IllegalArgumentException
get in interface PropertyReadername - the name of the property, cannot be null.null.IllegalArgumentException - if name == null.public Iterator getNames()
Iterator that returns all property names.getNames in interface PropertyReaderIterator for all property names, never null.public int size()
size in interface PropertyReaderpublic boolean equals(Object obj)
See http://www.xins.org/.