JavaOnTracks: Basic Preference/Properties manager
The class
It's not much code, just a wrapper around the standard java Properties class.
It provides methods such as:
functions
// loading in memory / saving the property file, ex: public void loadFrom(File f) throws IOException public void saveTo(File f) throws IOException // methods to get values, with possibly a defaultValue if no value exists yet, ex: public Boolean getDefaultedBoolean(String key, Boolean defaultValue) public String getDefaultedString(String key, String defaultValue) // set values public void setBoolean(String key, Boolean value) public void setString(String key, String value)
See javadoc for more infos:
Comments:
Add a new Comment
Back to top
