|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.sdsc.inca.util.CachedProperties
public class CachedProperties
Creates cached Properties fetched according to refreshMins.
Constructor Summary | |
---|---|
CachedProperties(java.lang.String fileName,
java.lang.String defaultRefresh)
Sets the name of the properties file in the classpath and the default number of minutes to fetch it if not specified as a system property. |
Method Summary | |
---|---|
java.util.Properties |
getProperties()
Gets property list from file in classpath if cache has expired according to refreshMins. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedProperties(java.lang.String fileName, java.lang.String defaultRefresh)
Method Detail |
---|
public java.util.Properties getProperties()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |