Package net.md_5.bungee.config
Class Configuration
- java.lang.Object
-
- net.md_5.bungee.config.Configuration
-
public final class Configuration extends Object
-
-
Constructor Summary
Constructors Constructor Description Configuration()Configuration(Configuration defaults)Configuration(Configuration values, Configuration defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Configuration
public Configuration()
-
Configuration
public Configuration(Configuration defaults)
-
Configuration
public Configuration(Configuration values, Configuration defaults)
-
-
Method Detail
-
get
public <T> T get(String path, T def)
-
contains
public boolean contains(String path)
-
getSection
public Configuration getSection(String path)
-
getKeys
public Collection<String> getKeys()
Gets keys, not deep by default.- Returns:
- top level keys for this section
-
getByte
public byte getByte(String path)
-
getByte
public byte getByte(String path, byte def)
-
getShort
public short getShort(String path)
-
getShort
public short getShort(String path, short def)
-
getInt
public int getInt(String path)
-
getInt
public int getInt(String path, int def)
-
getLong
public long getLong(String path)
-
getLong
public long getLong(String path, long def)
-
getFloat
public float getFloat(String path)
-
getFloat
public float getFloat(String path, float def)
-
getDouble
public double getDouble(String path)
-
getDouble
public double getDouble(String path, double def)
-
getBoolean
public boolean getBoolean(String path)
-
getBoolean
public boolean getBoolean(String path, boolean def)
-
getChar
public char getChar(String path)
-
getChar
public char getChar(String path, char def)
-
-