org.jivesoftware.sparkimpl.plugin.layout
Class LayoutSettingsManager

java.lang.Object
  extended by org.jivesoftware.sparkimpl.plugin.layout.LayoutSettingsManager

public class LayoutSettingsManager
extends java.lang.Object

Responsbile for the loading and persisting of LocalSettings.


Method Summary
static boolean exists()
          Return true if the settings file exists.
static LayoutSettings getLayoutSettings()
          Returns the LayoutSettings for this agent.
static java.io.File getSettingsFile()
          Returns the settings file.
static void saveLayoutSettings()
          Persists the settings to the local file system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLayoutSettings

public static LayoutSettings getLayoutSettings()
Returns the LayoutSettings for this agent.

Returns:
the LayoutSettings for this agent.

saveLayoutSettings

public static void saveLayoutSettings()
Persists the settings to the local file system.


exists

public static boolean exists()
Return true if the settings file exists.

Returns:
true if the settings file exists.('settings.xml')

getSettingsFile

public static java.io.File getSettingsFile()
Returns the settings file.

Returns:
the settings file.