public class BukkitSectionSnapshot extends SectionSnapshot implements IBukkitSection
entries, parent, path| Constructor and Description |
|---|
BukkitSectionSnapshot(ISection parent,
String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefault(String path,
Object value)
Deprecated.
|
org.bukkit.configuration.ConfigurationSection |
createSection(String path)
Deprecated.
|
org.bukkit.configuration.ConfigurationSection |
createSection(String path,
Map<?,?> map)
Deprecated.
|
Object |
get(String path,
Object def) |
org.bukkit.Color |
getColor(String path) |
org.bukkit.Color |
getColor(String path,
org.bukkit.Color def) |
String |
getColoredString(String path) |
String |
getColoredString(String path,
String def) |
List<String> |
getColoredStringList(String path) |
List<org.bukkit.Color> |
getColorList(String path) |
IBukkitSection |
getConfigurationSection(String path) |
String |
getCurrentPath() |
org.bukkit.configuration.ConfigurationSection |
getDefaultSection()
Deprecated.
|
org.bukkit.inventory.ItemStack |
getItemStack(String path) |
org.bukkit.inventory.ItemStack |
getItemStack(String path,
org.bukkit.inventory.ItemStack def) |
List<?> |
getList(String path) |
List<?> |
getList(String path,
List<?> def) |
org.bukkit.Location |
getLocation(String path) |
org.bukkit.Location |
getLocation(String path,
org.bukkit.Location def) |
org.bukkit.Location |
getLocation(String path,
org.bukkit.World world) |
org.bukkit.Location |
getLocation(String path,
org.bukkit.World world,
org.bukkit.Location def) |
List<org.bukkit.Location> |
getLocationList(String path)
Gets the List of Locations at the given path
Will convert all applicable values into Locations (world|x|y|z or world|x|y|z|yaw|pitch format). If no values are applicable, this will return an empty list. |
List<org.bukkit.Location> |
getLocationList(String path,
org.bukkit.World world)
Gets the List of Locations at the given path
Will convert all applicable values into Locations (x|y|z or x|y|z|yaw|pitch format). If no values are applicable, this will return an empty list. |
List<Map<?,?>> |
getMapList(String path)
Deprecated.
|
org.bukkit.OfflinePlayer |
getOfflinePlayer(String path) |
org.bukkit.OfflinePlayer |
getOfflinePlayer(String path,
org.bukkit.OfflinePlayer def) |
IBukkitSection |
getParent() |
org.bukkit.configuration.Configuration |
getRoot() |
IBukkitSection |
getSection(String path)
Gets the requested
Section by path.Returns an empty section if it didn't exist. |
Map<String,Object> |
getValues(boolean deep)
Deprecated.
|
org.bukkit.util.Vector |
getVector(String path)
Deprecated.
|
org.bukkit.util.Vector |
getVector(String path,
org.bukkit.util.Vector def)
Deprecated.
|
boolean |
isColor(String path) |
boolean |
isConfigurationSection(String path)
Deprecated.
|
boolean |
isItemStack(String path) |
boolean |
isList(String path) |
boolean |
isLocation(String path) |
boolean |
isLocationNoWorld(String path) |
boolean |
isOfflinePlayer(String path) |
boolean |
isSet(String path) |
boolean |
isVector(String path)
Deprecated.
|
void |
set(String path,
Object value) |
addCommentsAbove, addCommentsBelow, addEntry, contains, get, getEntries, getEntries, getKeys, getKeys, getName, getPath, getPathTo, remove, remove, removeBatch, removeBatch, removeEntry, renew, saveConfig, set, setListgetBoolean, getBoolean, getBooleanList, getByte, getByte, getByteList, getChar, getChar, getCharacterList, getDouble, getDouble, getDoubleList, getFloat, getFloat, getFloatList, getInt, getInt, getIntegerList, getLong, getLong, getLongList, getMixedList, getObject, getObject, getShort, getShort, getShortList, getString, getString, getStringList, getT, getT, getTList, isBoolean, isByte, isChar, isDouble, isFloat, isInt, isLong, isShort, isString, isT, setList, setList, setListclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCommentsAbove, addCommentsBelow, addEntry, contains, get, getEntries, getEntries, getKeys, getKeys, getName, getPath, remove, remove, removeBatch, removeBatch, removeEntry, renew, saveConfig, set, setList, setList, setList, setListgetBoolean, getBoolean, getBooleanList, getByte, getByte, getByteList, getChar, getChar, getCharacterList, getDouble, getDouble, getDoubleList, getFloat, getFloat, getFloatList, getInt, getInt, getIntegerList, getLong, getLong, getLongList, getMixedList, getObject, getObject, getShort, getShort, getShortList, getString, getString, getStringList, getT, getT, getTList, isBoolean, isByte, isChar, isDouble, isFloat, isInt, isLong, isShort, isString, isTcontains, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getKeys, getLong, getLong, getLongList, getName, getShortList, getString, getString, getStringList, isBoolean, isDouble, isInt, isLong, isString@Deprecated public void addDefault(String path, Object value)
addDefault in interface org.bukkit.configuration.ConfigurationSection@Deprecated public org.bukkit.configuration.ConfigurationSection createSection(String path)
createSection in interface org.bukkit.configuration.ConfigurationSection@Deprecated public org.bukkit.configuration.ConfigurationSection createSection(String path, Map<?,?> map)
createSection in interface org.bukkit.configuration.ConfigurationSectionpublic Object get(String path, Object def)
get in interface org.bukkit.configuration.ConfigurationSectionpublic org.bukkit.Location getLocation(String path)
getLocation in interface IBukkitSectionpublic org.bukkit.Location getLocation(String path, org.bukkit.Location def)
getLocation in interface IBukkitSectionpublic List<org.bukkit.Location> getLocationList(String path)
IBukkitSectiongetLocationList in interface IBukkitSectionpublic boolean isLocation(String path)
isLocation in interface IBukkitSectionpublic org.bukkit.Location getLocation(String path, org.bukkit.World world)
getLocation in interface IBukkitSectionpublic org.bukkit.Location getLocation(String path, org.bukkit.World world, org.bukkit.Location def)
getLocation in interface IBukkitSectionpublic List<org.bukkit.Location> getLocationList(String path, org.bukkit.World world)
IBukkitSectiongetLocationList in interface IBukkitSectionworld - - The world that the locations should use.public boolean isLocationNoWorld(String path)
isLocationNoWorld in interface IBukkitSectionpublic String getColoredString(String path)
getColoredString in interface IBukkitSectionpublic String getColoredString(String path, String def)
getColoredString in interface IBukkitSectionpublic List<String> getColoredStringList(String path)
getColoredStringList in interface IBukkitSectionpublic org.bukkit.Color getColor(String path)
getColor in interface org.bukkit.configuration.ConfigurationSectionpublic org.bukkit.Color getColor(String path, org.bukkit.Color def)
getColor in interface org.bukkit.configuration.ConfigurationSectionpublic IBukkitSection getSection(String path)
ISectionSection by path.getSection in interface IBukkitSectiongetSection in interface ISectiongetSection in class SectionSnapshotpath - - Path of the Section to get.Sectionpublic IBukkitSection getConfigurationSection(String path)
getConfigurationSection in interface IBukkitSectiongetConfigurationSection in interface org.bukkit.configuration.ConfigurationSectionpublic String getCurrentPath()
getCurrentPath in interface org.bukkit.configuration.ConfigurationSection@Deprecated public org.bukkit.configuration.ConfigurationSection getDefaultSection()
getDefaultSection in interface org.bukkit.configuration.ConfigurationSectionpublic org.bukkit.inventory.ItemStack getItemStack(String path)
getItemStack in interface org.bukkit.configuration.ConfigurationSectionpublic org.bukkit.inventory.ItemStack getItemStack(String path, org.bukkit.inventory.ItemStack def)
getItemStack in interface org.bukkit.configuration.ConfigurationSectionpublic List<?> getList(String path)
getList in interface org.bukkit.configuration.ConfigurationSectionpublic List<?> getList(String path, List<?> def)
getList in interface org.bukkit.configuration.ConfigurationSection@Deprecated public List<Map<?,?>> getMapList(String path)
getMapList in interface org.bukkit.configuration.ConfigurationSectionpublic org.bukkit.OfflinePlayer getOfflinePlayer(String path)
getOfflinePlayer in interface org.bukkit.configuration.ConfigurationSectionpublic org.bukkit.OfflinePlayer getOfflinePlayer(String path, org.bukkit.OfflinePlayer def)
getOfflinePlayer in interface org.bukkit.configuration.ConfigurationSectionpublic org.bukkit.configuration.Configuration getRoot()
getRoot in interface org.bukkit.configuration.ConfigurationSection@Deprecated public Map<String,Object> getValues(boolean deep)
getValues in interface org.bukkit.configuration.ConfigurationSection@Deprecated public org.bukkit.util.Vector getVector(String path)
getVector in interface org.bukkit.configuration.ConfigurationSection@Deprecated public org.bukkit.util.Vector getVector(String path, org.bukkit.util.Vector def)
getVector in interface org.bukkit.configuration.ConfigurationSectionpublic boolean isColor(String path)
isColor in interface org.bukkit.configuration.ConfigurationSection@Deprecated public boolean isConfigurationSection(String path)
isConfigurationSection in interface org.bukkit.configuration.ConfigurationSectionpublic boolean isItemStack(String path)
isItemStack in interface org.bukkit.configuration.ConfigurationSectionpublic boolean isList(String path)
isList in interface org.bukkit.configuration.ConfigurationSectionpublic boolean isOfflinePlayer(String path)
isOfflinePlayer in interface org.bukkit.configuration.ConfigurationSectionpublic boolean isSet(String path)
isSet in interface org.bukkit.configuration.ConfigurationSection@Deprecated public boolean isVector(String path)
isVector in interface org.bukkit.configuration.ConfigurationSectionpublic void set(String path, Object value)
set in interface org.bukkit.configuration.ConfigurationSectionpublic IBukkitSection getParent()
getParent in interface IBukkitSectiongetParent in interface ISectiongetParent in interface org.bukkit.configuration.ConfigurationSectiongetParent in class SectionSnapshotCopyright © 2014. All rights reserved.