com.atlassian.jira.configurator.config
Class SettingsLoader

java.lang.Object
  extended by com.atlassian.jira.configurator.config.SettingsLoader

public class SettingsLoader
extends java.lang.Object

Loads current settings from the relevant files.

Since:
v4.0

Constructor Summary
SettingsLoader()
           
 
Method Summary
static Settings loadCurrentSettings()
           
static void saveSettings(Settings newSettings)
          Saves the user's new settings back to the required files
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsLoader

public SettingsLoader()
Method Detail

loadCurrentSettings

public static Settings loadCurrentSettings()
                                    throws javax.xml.parsers.ParserConfigurationException,
                                           java.io.IOException,
                                           org.xml.sax.SAXException,
                                           ParseException
Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
ParseException

saveSettings

public static void saveSettings(Settings newSettings)
                         throws java.io.IOException
Saves the user's new settings back to the required files

Parameters:
newSettings - The new settings to save
Throws:
java.io.IOException - If any errors occur.


Copyright © 2002-2010 Atlassian. All Rights Reserved.