API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.prefs. JOTPropertiesPreferences View Source
Author(s)
tcolar
Since
Version
Serial
Hierarchy
 Object
      JOTPropertiesPreferences
Implements
 JOTPreferenceInterface
Subclasses
Description
public class JOTPropertiesPreferences
Represents/manage preferences stored in a propert file.
See also:   
Constructors
public JOTPropertiesPreferences ()
Methods
Hide/Show inherited methods
public Boolean getBoolean (String key) [Specified in JOTPreferenceInterface]
public Boolean getDefaultedBoolean (String key, Boolean defaultValue) [Specified in JOTPreferenceInterface]
public Integer getDefaultedInt (String key, Integer defaultValue)
public Long getDefaultedLong (String key, Long defaultValue)
public String getDefaultedString (String key, String defaultValue) [Specified in JOTPreferenceInterface]
public Integer getInt (String key)
public String getString (String key) [Specified in JOTPreferenceInterface]
public void loadFrom (File f) throws IOException
  load prefs from given props file.
public void loadFrom (InputStream input) throws IOException [Specified in JOTPreferenceInterface]
public void saveTo (File f) throws IOException
public void saveTo (OutputStream output) throws IOException [Specified in JOTPreferenceInterface]
  Save prefs to stream
public void setBoolean (String key, Boolean value) [Specified in JOTPreferenceInterface]
public void setString (String key, String value) [Specified in JOTPreferenceInterface]
Fields
Hide/Show inherited fields
protected Properties props
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar