public class DelegatingPropertyFileHandler extends java.lang.Object implements PropertyFileHandler
PropertyFileHandler that delegates to another handler.| Constructor and Description |
|---|
DelegatingPropertyFileHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete() |
void |
delete(java.lang.String m) |
boolean |
exists() |
java.lang.String |
get(java.lang.String m) |
java.util.Properties |
getAll() |
protected PropertyFileHandler |
getDelegate()
Get the delegate.
|
java.io.File |
getFile(boolean create) |
java.lang.String |
getPath() |
void |
save(java.lang.String m,
java.lang.String value) |
void |
saveAll(java.util.Properties properties) |
protected void |
setDelegate(PropertyFileHandler delegate)
Set the delegate.
|
protected PropertyFileHandler getDelegate()
protected void setDelegate(PropertyFileHandler delegate)
delegate - the delegatepublic void delete(java.lang.String m)
throws ConfigurationError
delete in interface PropertyFileHandlerConfigurationErrorpublic boolean delete()
delete in interface PropertyFileHandlerpublic boolean exists()
exists in interface PropertyFileHandlerpublic java.lang.String get(java.lang.String m)
throws ConfigurationError
get in interface PropertyFileHandlerConfigurationErrorpublic java.util.Properties getAll()
throws ConfigurationError
getAll in interface PropertyFileHandlerConfigurationErrorpublic java.io.File getFile(boolean create)
throws java.io.IOException
getFile in interface PropertyFileHandlerjava.io.IOExceptionpublic java.lang.String getPath()
getPath in interface PropertyFileHandlerpublic void save(java.lang.String m,
java.lang.String value)
throws ConfigurationError
save in interface PropertyFileHandlerConfigurationErrorpublic void saveAll(java.util.Properties properties)
throws ConfigurationError
saveAll in interface PropertyFileHandlerConfigurationErrorCopyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.