Package org.n52.iceland.util
Interface PropertyFileHandler
-
- All Known Implementing Classes:
AbstractEnumPropertiesFileHandler,DatabaseSettingsHandler,DelegatingPropertyFileHandler,PropertyFileHandlerImpl,ServletContextPropertyFileHandler
public interface PropertyFileHandlerTODO JavaDoc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandelete()voiddelete(String m)booleanexists()Stringget(String m)PropertiesgetAll()FilegetFile(boolean create)StringgetPath()voidsave(String m, String value)voidsaveAll(Properties properties)
-
-
-
Method Detail
-
delete
void delete(String m) throws ConfigurationError
- Throws:
ConfigurationError
-
delete
boolean delete()
-
exists
boolean exists()
-
get
String get(String m) throws ConfigurationError
- Throws:
ConfigurationError
-
getAll
Properties getAll() throws ConfigurationError
- Throws:
ConfigurationError
-
getFile
File getFile(boolean create) throws IOException
- Throws:
IOException
-
getPath
String getPath()
-
save
void save(String m, String value) throws ConfigurationError
- Throws:
ConfigurationError
-
saveAll
void saveAll(Properties properties) throws ConfigurationError
- Throws:
ConfigurationError
-
-