org.jivesoftware.sparkimpl.settings
Class UserSettings

java.lang.Object
  extended by org.jivesoftware.sparkimpl.settings.UserSettings

public class UserSettings
extends java.lang.Object


Field Summary
static java.lang.String ELEMENT_NAME
           
static java.lang.String NAMESPACE
           
 
Method Summary
 java.lang.String getEmptyPropertyIfNull(java.lang.String name)
           
static UserSettings getInstance()
           
 java.lang.String getProperty(java.lang.String name)
           
 java.util.Map getSettings()
           
 void save()
           
 void setProperty(java.lang.String name, boolean showtime)
           
 void setProperty(java.lang.String name, int value)
           
 void setProperty(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final java.lang.String NAMESPACE
See Also:
Constant Field Values

ELEMENT_NAME

public static final java.lang.String ELEMENT_NAME
See Also:
Constant Field Values
Method Detail

getInstance

public static UserSettings getInstance()

getSettings

public java.util.Map getSettings()

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)

setProperty

public void setProperty(java.lang.String name,
                        boolean showtime)

setProperty

public void setProperty(java.lang.String name,
                        int value)

getProperty

public java.lang.String getProperty(java.lang.String name)

getEmptyPropertyIfNull

public java.lang.String getEmptyPropertyIfNull(java.lang.String name)

save

public void save()