org.lsst.ccs.config.utilities
Class PersistentProperties.FileStore
java.lang.Object
org.lsst.ccs.config.utilities.PersistentProperties.FileStore
- All Implemented Interfaces:
- PersistentProperties.Store
- Enclosing class:
- PersistentProperties
public static class PersistentProperties.FileStore
- extends Object
- implements PersistentProperties.Store
|
Method Summary |
void |
commit()
will save the properties registered for this store |
void |
storeIsFor(PersistentProperties props)
should be normally part of the constructor: call this method only once! |
void |
update()
will read the Properties registered by this store |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentProperties.FileStore
public PersistentProperties.FileStore()
storeIsFor
public void storeIsFor(PersistentProperties props)
- Description copied from interface:
PersistentProperties.Store
- should be normally part of the constructor: call this method only once!
- Specified by:
storeIsFor in interface PersistentProperties.Store
commit
public void commit()
throws IOException
- Description copied from interface:
PersistentProperties.Store
- will save the properties registered for this store
- Specified by:
commit in interface PersistentProperties.Store
- Throws:
IOException
update
public void update()
throws IOException
- Description copied from interface:
PersistentProperties.Store
- will read the Properties registered by this store
- Specified by:
update in interface PersistentProperties.Store
- Throws:
IOException
Copyright © 2013 LSST. All Rights Reserved.