Package org.opennms.core.utils
Class PropertiesCache.PropertiesHolder
- java.lang.Object
-
- org.opennms.core.utils.PropertiesCache.PropertiesHolder
-
- Enclosing class:
- PropertiesCache
protected static class PropertiesCache.PropertiesHolder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Properties
find()
java.util.Properties
get()
java.lang.String
getProperty(java.lang.String key)
void
put(java.util.Properties properties)
void
setProperty(java.lang.String key, java.lang.String value)
void
update(java.util.Map<java.lang.String,java.lang.String> props)
-
-
-
Method Detail
-
get
public java.util.Properties get() throws java.io.IOException
- Throws:
java.io.IOException
-
put
public void put(java.util.Properties properties) throws java.io.IOException
- Throws:
java.io.IOException
-
update
public void update(java.util.Map<java.lang.String,java.lang.String> props) throws java.io.IOException
- Throws:
java.io.IOException
-
setProperty
public void setProperty(java.lang.String key, java.lang.String value) throws java.io.IOException
- Throws:
java.io.IOException
-
find
public java.util.Properties find() throws java.io.IOException
- Throws:
java.io.IOException
-
getProperty
public java.lang.String getProperty(java.lang.String key) throws java.io.IOException
- Throws:
java.io.IOException
-
-