|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertiesDataSourceAccessor
Interface to access property information from a data source.
Method Summary | |
---|---|
void |
deleteProperty(String name) Deletes the property from the store. |
Property |
getProperty(String name) Reads the property with the given name from the data source. |
void |
setProperty(String name, String value) Sets the property to the given name and value. |
Method Detail |
---|
Property getProperty(String name) throws IllegalArgumentException, DataSourceException
name
- the name of the property to fetch.
null
, if no such property is stored in the data source.
IllegalArgumentException
- if
name
is blank;
DataSourceException
- on any problem accessing the data source.
void setProperty(String name, String value) throws IllegalArgumentException, DataSourceException
name
- the name of the property to set.
value
- the value of the property.
IllegalArgumentException
- if
name
is blank;
DataSourceException
- on any problem accessing the data source.
void deleteProperty(String name) throws IllegalArgumentException, DataSourceException
name
- the name of the property to delete.
IllegalArgumentException
- if
name
is blank;
DataSourceException
- on any problem accessing the data source.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |