me.escapeNT.pail.config
Class General

java.lang.Object
  extended by me.escapeNT.pail.config.General

public class General
extends Object

Class for handling general configuration.

Author:
escapeNT

Field Summary
static org.bukkit.util.config.Configuration config
           
 
Constructor Summary
General()
           
 
Method Summary
static Language getLang()
           
static String getLookAndFeel()
           
static boolean isAutoUpdate()
           
static void load()
          Loads the configuration.
static void save()
          Saves the configuration.
static void setAutoUpdate(boolean aAutoUpdate)
           
static void setLang(Language aLang)
           
static void setLookAndFeel(String aLookAndFeel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

public static final org.bukkit.util.config.Configuration config
Constructor Detail

General

public General()
Method Detail

load

public static void load()
Loads the configuration.


save

public static void save()
Saves the configuration.


isAutoUpdate

public static boolean isAutoUpdate()
Returns:
the autoUpdate

setAutoUpdate

public static void setAutoUpdate(boolean aAutoUpdate)
Parameters:
aAutoUpdate - the autoUpdate to set

getLookAndFeel

public static String getLookAndFeel()
Returns:
the lookAndFeel

setLookAndFeel

public static void setLookAndFeel(String aLookAndFeel)
Parameters:
aLookAndFeel - the lookAndFeel to set

getLang

public static Language getLang()
Returns:
the language

setLang

public static void setLang(Language aLang)
Parameters:
aLang - the lang to set


Copyright © 2011. All Rights Reserved.