|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Property reader. Object that implement this interface allow read-only
access to a set of property entries. Each entry consists of a name and a
value. Both are String
objects.
PropertyReaderUtils
Method Summary | |
String |
get(String name)
Gets the value of the property with the specified name. |
Iterator |
getNames()
Gets an iterator that iterates over all the property names. |
int |
size()
Returns the number of entries. |
Method Detail |
public String get(String name) throws IllegalArgumentException
name
- the name of the property, cannot be null
.
null
if it is not set.
IllegalArgumentException
- if name == null
.public Iterator getNames()
Iterator
will return only String
instances.
Iterator
that will iterate over all the names, never
null
.public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |