uk.co.jcp.util.properties
Interface WritablePropertySource
- All Superinterfaces:
- PropertySource, java.io.Serializable
- public interface WritablePropertySource
- extends PropertySource
Interface for PropertySources, e.g. INI file, Trustbase properties,
Database etc that can be saved
Method Summary |
void |
addSection(java.lang.String sectionName,
PropertySection section)
adds a section |
void |
save()
Save the current state of the properties |
save
public void save()
throws PropertyException
- Save the current state of the properties
addSection
public void addSection(java.lang.String sectionName,
PropertySection section)
throws SectionAlreadyDefinedException
- adds a section
- Throws:
SectionAlreadyDefinedException
- thrown if section is already present.