public class Language
extends org.bukkit.configuration.file.YamlConfiguration
Modifier and Type | Method and Description |
---|---|
Message |
getMessage(String id) |
void |
load(@NotNull File file) |
void |
log(String messageID,
Level level,
Logger logger,
String... args) |
void |
send(String messageID,
org.bukkit.command.CommandSender sender,
String... args) |
buildHeader, convertMapsToSections, loadConfiguration, loadConfiguration, loadFromString, options, parseHeader, saveToString
addDefault, addDefaults, addDefaults, getDefaults, getParent, setDefaults
contains, contains, createPath, createPath, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefault, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLocation, getLocation, getLong, getLong, getLongList, getMapList, getName, getObject, getObject, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLocation, isLong, isOfflinePlayer, isPrimitiveWrapper, isSet, isString, isVector, mapChildrenKeys, mapChildrenValues, set, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLocation, getLocation, getLong, getLong, getLongList, getMapList, getName, getObject, getObject, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLocation, isLong, isOfflinePlayer, isSet, isString, isVector, set
public Language(File file) throws IOException, org.bukkit.configuration.InvalidConfigurationException
IOException
org.bukkit.configuration.InvalidConfigurationException
public void load(@NotNull @NotNull File file) throws IOException, org.bukkit.configuration.InvalidConfigurationException
load
in class org.bukkit.configuration.file.FileConfiguration
IOException
org.bukkit.configuration.InvalidConfigurationException
Copyright © 2020. All rights reserved.