|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Class to embody a set of properties in easy to access form such that properties can be retrieved as the desired type
| Method Summary | |
void |
addSection(java.lang.String sectionName,
PropertySection section)
Adds a section to this properties object. |
PropertySection |
getSection(java.lang.String sectionName)
Get a Properties object representing the named section |
java.util.Enumeration |
getSections()
Return an Emueration of the section names that this property resource contains |
void |
save()
Save the properties to the source they came from |
void |
setParentProperties(JCPProperties jcp)
set parent properties for this object. |
| Method Detail |
public java.util.Enumeration getSections()
throws SectionNotFoundException
SectionNotFoundException - if no sections are present
public PropertySection getSection(java.lang.String sectionName)
throws SectionNotFoundException
SectionNotFoundException - if the section is not present
public void addSection(java.lang.String sectionName,
PropertySection section)
throws PropertyException
SectionAlreadyDefined - if the section is already present.
public void save()
throws PropertyException
PropertyException - if the properties could not be savedpublic void setParentProperties(JCPProperties jcp)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||