|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xins.common.servlet.ServletConfigPropertyReader
Implementation of a PropertyReader that returns the
initialization properties from a ServletConfig object.
| Constructor Summary | |
ServletConfigPropertyReader(ServletConfig servletConfig)
Constructs a new ServletConfigPropertyReader. |
|
| Method Summary | |
String |
get(String name)
Retrieves the value of the property with the specified name. |
Iterator |
getNames()
Returns an Iterator that returns all property names. |
int |
size()
Determines the number of properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServletConfigPropertyReader(ServletConfig servletConfig)
throws IllegalArgumentException
ServletConfigPropertyReader.
servletConfig - the ServletConfig object, cannot be null.
IllegalArgumentException - if servletConfig == null.| Method Detail |
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 PropertyReader
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||