|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.util.PropertiesPersister
public class PropertiesPersister
Allows Properties objects to be loaded and stored to file.
Constructor Summary | |
---|---|
PropertiesPersister(java.io.File propertiesFile)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
exists()
Checks if the properties file exists. |
java.util.Properties |
load()
Loads the properties from the file. |
void |
store(java.util.Properties properties)
Stores the properties to the file overwriting any existing file contents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesPersister(java.io.File propertiesFile)
propertiesFile
- The location of the file containing the persisted data.Method Detail |
---|
public java.util.Properties load()
public void store(java.util.Properties properties)
properties
- The properties.public boolean exists()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |