Package org.n52.iceland.util
Class PropertyFileHandlerImpl
java.lang.Object
org.n52.iceland.util.PropertyFileHandlerImpl
- All Implemented Interfaces:
PropertyFileHandler
- Direct Known Subclasses:
ServletContextPropertyFileHandler
TODO JavaDoc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandelete()voidbooleanexists()getAll()protected PropertiesgetCache()getFile(boolean create) getPath()protected Propertiesload()voidprotected voidsave(Properties p) voidsaveAll(Properties properties) protected void
-
Constructor Details
-
PropertyFileHandlerImpl
-
PropertyFileHandlerImpl
-
-
Method Details
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
save
- Specified by:
savein interfacePropertyFileHandler- Throws:
ConfigurationError
-
setCache
-
getCache
-
getFile
- Specified by:
getFilein interfacePropertyFileHandler- Throws:
IOException
-
get
- Specified by:
getin interfacePropertyFileHandler- Throws:
ConfigurationError
-
delete
- Specified by:
deletein interfacePropertyFileHandler- Throws:
ConfigurationError
-
delete
public boolean delete()- Specified by:
deletein interfacePropertyFileHandler
-
saveAll
- Specified by:
saveAllin interfacePropertyFileHandler- Throws:
ConfigurationError
-
getAll
- Specified by:
getAllin interfacePropertyFileHandler- Throws:
ConfigurationError
-
getPath
- Specified by:
getPathin interfacePropertyFileHandler
-
exists
public boolean exists()- Specified by:
existsin interfacePropertyFileHandler
-