value == null, this comment is set to "" (an empty line).
"-->\"
\"-->\"
\\\"-->\"
he's-->he\'s
\'-->\'
\\\'-->\'
\\n-->\\n
- format(Object) - Static method in class nl.taico.configplus.util.Util
-
- fp - Static variable in class nl.taico.configplus.Converter
-
- fromString(String) - Method in class nl.taico.configplus.bukkit.BukkitConverter
-
- fromString(String) - Static method in class nl.taico.configplus.bukkit.BukkitUtil
-
- fromString(String, World) - Static method in class nl.taico.configplus.bukkit.BukkitUtil
-
- fromString(String) - Method in class nl.taico.configplus.Converter
-
- fromString(String) - Method in interface nl.taico.configplus.interfaces.IConverter
-
G
- get(String, Object) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- get(String, Object) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- get(String, Object) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- get(String) - Method in class nl.taico.configplus.Config
-
- get(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- get(String) - Method in interface nl.taico.configplus.interfaces.ISection
-
Gets the line with the given path.
Returns null if no line with the given path exists.
- get(String) - Method in class nl.taico.configplus.Section
-
- get(String) - Method in class nl.taico.configplus.SectionSnapshot
-
- get(Class<T>) - Static method in class nl.taico.configplus.util.SerializeUtil
-
- getBoolean(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getBoolean(String, boolean) - Method in class nl.taico.configplus.interfaces.CSection
-
- getBoolean(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested boolean by path.
If the value at the path does not exist or is not a boolean, this will return false.
- getBoolean(String, boolean) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested boolean by path.
If the value at the path does not exist or is not a boolean, this will return def.
- getBoolean() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a boolean.
If this line is not a boolean, this will return false.
- getBoolean(boolean) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a boolean.
If this line is not a boolean, this will return def.
- getBoolean() - Method in class nl.taico.configplus.ValueLine
-
- getBoolean(boolean) - Method in class nl.taico.configplus.ValueLine
-
- getBooleanList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getBooleanList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Booleans.
Will convert all applicable values into Booleans.
- getBooleanList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of Boolean by path.
If the value at the path does not exist or is not a List of Booleans, this will return an empty list.
- getBooleanList() - Method in class nl.taico.configplus.ListLine
-
- getByLevel(int) - Method in class nl.taico.configplus.CPath
-
- getByte(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getByte(String, byte) - Method in class nl.taico.configplus.interfaces.CSection
-
- getByte(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested byte by path.
If the value at the path does not exist or is not a byte, this will return 0.
- getByte(String, byte) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested byte by path.
If the value at the path does not exist or is not a byte, this will return def.
- getByte() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a byte.
If this line is not a byte, this will return 0.
- getByte(byte) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a byte.
If this line is not a byte, this will return def.
- getByte() - Method in class nl.taico.configplus.ValueLine
-
- getByte(byte) - Method in class nl.taico.configplus.ValueLine
-
- getByteList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getByteList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Bytes.
Will convert all applicable values into Bytes.
- getByteList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of Byte by path.
If the value at the path does not exist or is not a List of Bytes, this will return an empty list.
- getByteList() - Method in class nl.taico.configplus.ListLine
-
- getChar(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getChar(String, char) - Method in class nl.taico.configplus.interfaces.CSection
-
- getChar(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested char by path.
If the value at the path does not exist or is not a char, this will return ' ' (null char).
- getChar(String, char) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested char by path.
If the value at the path does not exist or is not a char, this will return def.
- getChar() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a char.
If this line is not a char, this will return ' ' (null character).
- getChar(char) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a char.
If this line is not a char, this will return def.
- getChar() - Method in class nl.taico.configplus.ValueLine
-
- getChar(char) - Method in class nl.taico.configplus.ValueLine
-
- getCharacterList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getCharacterList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Characters.
Will convert all applicable values into Characters.
- getCharacterList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of Character by path.
If the value at the path does not exist or is not a List of Characters, this will return an empty list.
- getCharacterList() - Method in class nl.taico.configplus.ListLine
-
- getColor(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getColor(String, Color) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getColor(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getColor(String, Color) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getColor(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getColor(String, Color) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getColor(String) - Static method in class nl.taico.configplus.bukkit.BukkitUtil
-
Gets the corresponding color from a color name.
- getColor() - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- getColor(Color) - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- getColor() - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
- getColor(Color) - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
- getColoredString(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getColoredString(String, String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getColoredString(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getColoredString(String, String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getColoredString(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getColoredString(String, String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getColoredString() - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- getColoredString(String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getColoredString(String, String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getColoredString() - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
Gets the value of this line as a String, and converts colors (&2 --> Green).
- getColoredStringList(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getColoredStringList() - Method in class nl.taico.configplus.bukkit.BukkitListLine
-
- getColoredStringList(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getColoredStringList(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getColoredStringList() - Method in interface nl.taico.configplus.bukkit.IBukkitList
-
Gets the value of this line as a List of Strings and converts colors in it (&2 --> Green).
- getColoredStringList(String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getColorList(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getColorList() - Method in class nl.taico.configplus.bukkit.BukkitListLine
-
- getColorList(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getColorList(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getColorList() - Method in interface nl.taico.configplus.bukkit.IBukkitList
-
Gets the value of this line as a List of Colors.
Will convert all applicable values into Colors.
- getComment() - Method in class nl.taico.configplus.Comment
-
- getComment() - Method in class nl.taico.configplus.CommentLine
-
- getComments() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Returns a list with all the comments that are inside of this ListLine.
- getComments() - Method in class nl.taico.configplus.ListLine
-
- getConfigFile() - Method in class nl.taico.configplus.Config
-
- getConfigurationSection(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getConfigurationSection(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getConfigurationSection(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getConfigurationSection(String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getConverter() - Method in class nl.taico.configplus.bukkit.BukkitListLine
-
- getConverter() - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- getConverter() - Method in class nl.taico.configplus.ListLine
-
- getConverter() - Method in class nl.taico.configplus.ValueLine
-
- getCurrentPath() - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getCurrentPath() - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getCurrentPath() - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getDefaultSection() - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Deprecated.
- getDefaultSection() - Method in class nl.taico.configplus.bukkit.BukkitSection
-
Deprecated.
- getDefaultSection() - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
Deprecated.
- getDouble(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getDouble(String, double) - Method in class nl.taico.configplus.interfaces.CSection
-
- getDouble(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested double by path.
If the value at the path does not exist or is not a double, this will return 0.
- getDouble(String, double) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested double by path.
If the value at the path does not exist or is not a double, this will return def.
- getDouble() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a double.
If this line is not a double, this will return 0.
- getDouble(double) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a double.
If this line is not a double, this will return def.
- getDouble() - Method in class nl.taico.configplus.ValueLine
-
- getDouble(double) - Method in class nl.taico.configplus.ValueLine
-
- getDoubleList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getDoubleList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Doubles.
Will convert all applicable values into Doubles.
- getDoubleList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of Double by path.
If the value at the path does not exist or is not a List of Doubles, this will return an empty list.
- getDoubleList() - Method in class nl.taico.configplus.ListLine
-
- getEntries() - Method in class nl.taico.configplus.Config
-
- getEntries(String) - Method in class nl.taico.configplus.Config
-
- getEntries() - Method in interface nl.taico.configplus.interfaces.ISection
-
- getEntries(String) - Method in interface nl.taico.configplus.interfaces.ISection
-
- getEntries() - Method in class nl.taico.configplus.Section
-
- getEntries(String) - Method in class nl.taico.configplus.Section
-
- getEntries() - Method in class nl.taico.configplus.SectionSnapshot
-
- getEntries(String) - Method in class nl.taico.configplus.SectionSnapshot
-
- getFirst() - Method in class nl.taico.configplus.CPath
-
- getFloat(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getFloat(String, float) - Method in class nl.taico.configplus.interfaces.CSection
-
- getFloat(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested float by path.
If the value at the path does not exist or is not a float, this will return 0.
- getFloat(String, float) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested float by path.
If the value at the path does not exist or is not a float, this will return def.
- getFloat() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a float.
If this line is not a float, this will return 0.
- getFloat(float) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a float.
If this line is not a float, this will return def.
- getFloat() - Method in class nl.taico.configplus.ValueLine
-
- getFloat(float) - Method in class nl.taico.configplus.ValueLine
-
- getFloatList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getFloatList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Floats.
Will convert all applicable values into Floats.
- getFloatList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of Float by path.
If the value at the path does not exist or is not a List of Floats, this will return an empty list.
- getFloatList() - Method in class nl.taico.configplus.ListLine
-
- getInt(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getInt(String, int) - Method in class nl.taico.configplus.interfaces.CSection
-
- getInt(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested int by path.
If the value at the path does not exist or is not a int, this will return 0.
- getInt(String, int) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested int by path.
If the value at the path does not exist or is not a int, this will return def.
- getInt() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as an int.
If this line is not an int, this will return 0.
- getInt(int) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a int.
If this line is not a int, this will return def.
- getInt() - Method in class nl.taico.configplus.ValueLine
-
- getInt(int) - Method in class nl.taico.configplus.ValueLine
-
- getIntegerList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getIntegerList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Integers.
Will convert all applicable values into Integers.
- getIntegerList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of Integer by path.
If the value at the path does not exist or is not a List of Integers, this will return an empty list.
- getIntegerList() - Method in class nl.taico.configplus.ListLine
-
- getItemStack(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Gets the requested ItemStack by path.
If the ItemStack does not exist or the value at this path is not an ItemStack, this will return null.
WARNING: Only saves the ID, Damage and Amount.
- getItemStack(String, ItemStack) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Gets the requested ItemStack by path.
If the ItemStack does not exist or the value at this path is not an ItemStack, this will return def.
WARNING: Only saves the ID, Damage and Amount.
- getItemStack(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getItemStack(String, ItemStack) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getItemStack(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getItemStack(String, ItemStack) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getKeys(boolean) - Method in class nl.taico.configplus.Config
-
- getKeys(String, boolean) - Method in class nl.taico.configplus.Config
-
- getKeys(String, boolean, boolean) - Method in class nl.taico.configplus.Config
-
- getKeys(boolean) - Method in interface nl.taico.configplus.interfaces.ISection
-
Gets a set containing all keys in this section.
If deep is set to true, then this will contain all the keys within any child Sections (and their children, etc).
These will be in a valid path notation for you to use.
If deep is set to false, then this will contain only the keys of any direct children, and not their own children.
- getKeys(String, boolean) - Method in interface nl.taico.configplus.interfaces.ISection
-
Gets a set containing all keys that start with the given path in this section.
If deep is set to true, then this will contain all the keys within any child Sections (and their children, etc).
These will be in a valid path notation for you to use.
If deep is set to false, then this will contain only the keys of any direct children, and not their own children.
- getKeys(boolean) - Method in class nl.taico.configplus.Section
-
- getKeys(String, boolean) - Method in class nl.taico.configplus.Section
-
- getKeys(boolean) - Method in class nl.taico.configplus.SectionSnapshot
-
Deprecated.
- getKeys(String, boolean) - Method in class nl.taico.configplus.SectionSnapshot
-
Deprecated.
- getLevel() - Method in class nl.taico.configplus.CPath
-
- getLevel() - Method in class nl.taico.configplus.ValueLine
-
- getLine() - Method in class nl.taico.configplus.Comment
-
- getList(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getList(String, List<?>) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getList(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getList(String, List<?>) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getList(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getList(String, List<?>) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getLocation(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getLocation(String, Location) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getLocation(String, World) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getLocation(String, World, Location) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getLocation(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getLocation(String, Location) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getLocation(String, World) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getLocation(String, World, Location) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getLocation(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getLocation(String, Location) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getLocation(String, World) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getLocation(String, World, Location) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getLocation() - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- getLocation(Location) - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- getLocation(World) - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- getLocation(World, Location) - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- getLocation(String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getLocation(String, Location) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getLocation(String, World) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getLocation(String, World, Location) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getLocation() - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
Gets the value of this line as a Location.
If this line is not a Location, this will return null.
- getLocation(Location) - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
Gets the value of this line as a Location.
If this line is not a Location, this will return def.
- getLocation(World) - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
Gets the value of this line as a Location.
If this line is not a Location, this will return null.
- getLocation(World, Location) - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
Gets the value of this line as a Location.
If this line is not a Location, this will return null.
- getLocationList(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getLocationList(String, World) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getLocationList() - Method in class nl.taico.configplus.bukkit.BukkitListLine
-
- getLocationList(World) - Method in class nl.taico.configplus.bukkit.BukkitListLine
-
- getLocationList(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getLocationList(String, World) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getLocationList(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getLocationList(String, World) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getLocationList() - Method in interface nl.taico.configplus.bukkit.IBukkitList
-
Gets the value of this line as a List of Locations.
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.
- getLocationList(World) - Method in interface nl.taico.configplus.bukkit.IBukkitList
-
Gets the value of this line as a List of Locations.
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.
- getLocationList(String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
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.
- getLocationList(String, World) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
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.
- getLogger() - Method in class nl.taico.configplus.Config
-
Convenience for overriding classes :)
- getLong(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getLong(String, long) - Method in class nl.taico.configplus.interfaces.CSection
-
- getLong(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested long by path.
If the value at the path does not exist or is not a long, this will return 0.
- getLong(String, long) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested long by path.
If the value at the path does not exist or is not a long, this will return def.
- getLong() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a long.
If this line is not a long, this will return 0.
- getLong(long) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a long.
If this line is not a long, this will return def.
- getLong() - Method in class nl.taico.configplus.ValueLine
-
- getLong(long) - Method in class nl.taico.configplus.ValueLine
-
- getLongList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getLongList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Longs.
Will convert all applicable values into Longs.
- getLongList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of Long by path.
If the value at the path does not exist or is not a List of Longs, this will return an empty list.
- getLongList() - Method in class nl.taico.configplus.ListLine
-
- getMapList(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Deprecated.
- getMapList(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
Deprecated.
- getMapList(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
Deprecated.
- getMixedList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getMixedList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Converts whole numbers into Integers or Longs (whichever fits best)
Converts floating point numbers into Doubles
Converts true, false, yes and no into their respective Boolean values
- getMixedList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List by path.
If the value at the path does not exist, this will return an empty list.
Converts whole numbers into Integers or Longs (whichever fits best)
Converts floating point numbers into Doubles
Converts true, false, yes and no into their respective Boolean values
- getMixedList() - Method in class nl.taico.configplus.ListLine
-
- getName() - Method in class nl.taico.configplus.CommentLine
-
- getName() - Method in class nl.taico.configplus.Config
-
- getName() - Method in class nl.taico.configplus.EmptyLine
-
- getName() - Method in interface nl.taico.configplus.interfaces.ISection
-
Returns the name of this Section.
- getName() - Method in class nl.taico.configplus.Line
-
Returns the name of this line.
The specific meaning differs between the different types of lines.
- getName() - Method in class nl.taico.configplus.ListLine
-
- getName() - Method in class nl.taico.configplus.Section
-
- getName() - Method in class nl.taico.configplus.SectionLine
-
- getName() - Method in class nl.taico.configplus.SectionSnapshot
-
- getName() - Method in class nl.taico.configplus.ValueLine
-
- getNewConfig(Plugin, String) - Static method in class nl.taico.configplus.bukkit.BukkitConfig
-
Creates a new config and loads it.
If the file doesn't exist, will save the default config.
Example usage:
public static Config config;
public void onLoad(){
config = Config.getNewConfig(this, "config.yml");
}
You can then get values by doing:
String str = config.getString("path.to.str");
int i = config.getInt("path.to.i");
Location loc = config.getLocation("path.to.location");
List<Boolean> booleans = config.getBooleanList("path.to.list");
IConfigSection section1 = config.getSection("Section1");
//Gets Section1.hey, if it doesn't exist, returns 20.
int hey = section1.getInt("hey", 20);
You can set values like so:
config.set("Section1.tutorial", "This is a tutorial!");
config.set("Section1.tutorial", null); //removes tuturial
config.remove("Section1"); //Removes Section1 and everything in it
List<String> l = new ArrayList<>();
l.add("Entry 1");
l.add("Entry 2");
config.set("Section1.list", l);
//You can also keep comments that were in Section1.list
config.setList("Section1.list", false, l);
//Don't forget to save.
config.saveConfig();
- getNewConfig(Logger, File, String) - Static method in class nl.taico.configplus.Config
-
Creates a new config and loads it.
If the file doesn't exist, will save the default config.
Example usage:
public static Config config;
public void load(){
config = Config.getNewConfig(this.getLogger(), new File(""), "config.yml");
}
You can then get values by doing:
String str = config.getString("path.to.str");
int i = config.getInt("path.to.i");
List<Boolean> booleans = config.getBooleanList("path.to.list");
ISection section1 = config.getSection("Section1");
//Gets Section1.hey, if it doesn't exist, returns 20.
int hey = section1.getInt("hey", 20);
You can set values like so:
config.set("Section1.tutorial", "This is a tutorial!");
config.set("Section1.tutorial", null); //removes tuturial
config.remove("Section1"); //Removes Section1 and everything in it
List<String> l = new ArrayList<>();
l.add("Entry 1");
l.add("Entry 2");
config.set("Section1.list", l);
//You can also keep comments that were in Section1.list
config.setList("Section1.list", false, l);
//Don't forget to save.
config.saveConfig();
- getNewConfig(Plugin, String) - Static method in class nl.taico.configplus.ConfigPlus
-
- getNewListLine(String, boolean) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getNewListLine(String, boolean) - Method in class nl.taico.configplus.Config
-
Can by overridden by classes that override this class to implement a different type of ListLine.
Now you don't have to rewrite Config.parse() :)
- getNewValueLine(String, String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getNewValueLine(String, String) - Method in class nl.taico.configplus.Config
-
Can by overridden by classes that override this class to implement a different type of ValueLine.
Now you don't have to rewrite Config.parse() :)
- getObject(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getObject(String, Object) - Method in class nl.taico.configplus.interfaces.CSection
-
- getObject(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
- getObject(String, Object) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
- getObject() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line and converts it to the most applicable type.
- getObject() - Method in class nl.taico.configplus.ValueLine
-
- getOfflinePlayer(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getOfflinePlayer(String, OfflinePlayer) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getOfflinePlayer(String) - Static method in class nl.taico.configplus.bukkit.BukkitConverter
-
- getOfflinePlayer(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getOfflinePlayer(String, OfflinePlayer) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getOfflinePlayer(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getOfflinePlayer(String, OfflinePlayer) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getOrder() - Method in class nl.taico.configplus.CPath
-
- getParent() - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getParent() - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getParent() - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getParent() - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getParent() - Method in class nl.taico.configplus.Config
-
- getParent() - Method in interface nl.taico.configplus.interfaces.ISection
-
- getParent() - Method in class nl.taico.configplus.Section
-
- getParent() - Method in class nl.taico.configplus.SectionSnapshot
-
- getPart() - Method in class nl.taico.configplus.CPath
-
- getPath() - Method in class nl.taico.configplus.CommentLine
-
- getPath() - Method in class nl.taico.configplus.Config
-
- getPath() - Method in class nl.taico.configplus.CPath
-
- getPath() - Method in class nl.taico.configplus.EmptyLine
-
- getPath() - Method in interface nl.taico.configplus.interfaces.ISection
-
Returns the path of this Section, relative to the main config.
- getPath() - Method in class nl.taico.configplus.Line
-
- getPath() - Method in class nl.taico.configplus.Section
-
- getPath() - Method in class nl.taico.configplus.SectionSnapshot
-
- getPathTo(String) - Method in class nl.taico.configplus.Section
-
- getPathTo(String) - Method in class nl.taico.configplus.SectionSnapshot
-
- getRoot() - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getRoot() - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getRoot() - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getSection(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- getSection(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- getSection(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- getSection(String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- getSection(String) - Method in class nl.taico.configplus.Config
-
- getSection(String) - Method in interface nl.taico.configplus.interfaces.ISection
-
Gets the requested
Section by path.
Returns an empty section if it didn't exist.
- getSection(String) - Method in class nl.taico.configplus.Section
-
- getSection(String) - Method in class nl.taico.configplus.SectionSnapshot
-
- getSectionSnapshot(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Deprecated.
Not all functions work as you would expect them to. Please use
BukkitConfig.getSection(String) instead.
- getSectionSnapshot(String) - Method in class nl.taico.configplus.Config
-
Deprecated.
Not all functions work as you would expect them to. Please use
Config.getSection(String) instead.
- getShort(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getShort(String, short) - Method in class nl.taico.configplus.interfaces.CSection
-
- getShort(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested short by path.
If the value at the path does not exist or is not a short, this will return 0.
- getShort(String, short) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested short by path.
If the value at the path does not exist or is not a short, this will return def.
- getShort() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a short.
If this line is not a short, this will return 0.
- getShort(short) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a short.
If this line is not a short, this will return def.
- getShort() - Method in class nl.taico.configplus.ValueLine
-
- getShort(short) - Method in class nl.taico.configplus.ValueLine
-
- getShortList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getShortList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Shorts.
Will convert all applicable values into Shorts.
- getShortList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of Short by path.
If the value at the path does not exist or is not a List of Shorts, this will return an empty list.
- getShortList() - Method in class nl.taico.configplus.ListLine
-
- getString(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getString(String, String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getString(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested String by path.
If the value at the path does not exist, this will return null.
- getString(String, String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested String by path.
If the value at the path does not exist, this will return def.
- getString() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as a String.
- getString() - Method in class nl.taico.configplus.ValueLine
-
- getStringList(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- getStringList() - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of Strings.
- getStringList(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List of String by path.
If the value at the path does not exist, this will return an empty list.
- getStringList() - Method in class nl.taico.configplus.ListLine
-
- getT(String, Class<T>) - Method in class nl.taico.configplus.interfaces.CSection
-
- getT(String, T, Class<T>) - Method in class nl.taico.configplus.interfaces.CSection
-
- getT(String, Class<T>) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets an instance of the given class by path.
If the value at the path does not exist or is not an instance of the given class, this will return null.
- getT(String, T, Class<T>) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets an instance of the given class by path.
If the value at the path does not exist or is not an instance of the given class, this will return def.
- getT(Class<T>) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as an instance of the given class.
If this line is not an instance of the given class, this will return null.
- getT(T, Class<T>) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
Gets the value of this line as an instance of the given class.
If this line is not an instance of the given class, this will return def.
- getT(Class<T>) - Method in class nl.taico.configplus.ValueLine
-
- getT(T, Class<T>) - Method in class nl.taico.configplus.ValueLine
-
- getTList(String, Class<T>) - Method in class nl.taico.configplus.interfaces.CSection
-
- getTList(Class<T>) - Method in interface nl.taico.configplus.interfaces.IBasicList
-
Gets the value of this line as a List of T
If the value at the path does not exist or is not a List of T, this will return an empty list.
- getTList(String, Class<T>) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Gets the requested List by path.
If the value at the path does not exist or is not a List of T, this will return an empty list.
- getTList(Class<T>) - Method in class nl.taico.configplus.ListLine
-
- getType() - Method in interface nl.taico.configplus.ConfigSerializable
-
- getValues(boolean) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Deprecated.
- getValues(boolean) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
Deprecated.
- getValues(boolean) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
Deprecated.
- getVector(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Deprecated.
- getVector(String, Vector) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Deprecated.
- getVector(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
Deprecated.
- getVector(String, Vector) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
Deprecated.
- getVector(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
Deprecated.
- getVector(String, Vector) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
Deprecated.
H
- hashCode() - Method in class nl.taico.configplus.CommentLine
-
- hashCode() - Method in class nl.taico.configplus.EmptyLine
-
- hashCode() - Method in class nl.taico.configplus.Line
-
- hashCode() - Method in class nl.taico.configplus.ListLine
-
- hashCode() - Method in class nl.taico.configplus.SectionLine
-
- hashCode() - Method in class nl.taico.configplus.ValueLine
-
I
- IBasicList - Interface in nl.taico.configplus.interfaces
-
- IBasicSection - Interface in nl.taico.configplus.interfaces
-
- IBasicValue - Interface in nl.taico.configplus.interfaces
-
- IBukkitList - Interface in nl.taico.configplus.bukkit
-
- IBukkitSection - Interface in nl.taico.configplus.bukkit
-
- IBukkitValue - Interface in nl.taico.configplus.bukkit
-
- IConfig - Interface in nl.taico.configplus.interfaces
-
- IConverter - Interface in nl.taico.configplus.interfaces
-
- insertCorrectly(Line, boolean) - Method in class nl.taico.configplus.Config
-
- instance - Static variable in class nl.taico.configplus.bukkit.BukkitConverter
-
- instance - Static variable in class nl.taico.configplus.Converter
-
- is(String) - Method in interface nl.taico.configplus.ConfigSerializable
-
- isBoolean(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isBoolean(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as a boolean.
- isBoolean() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isBoolean() - Method in class nl.taico.configplus.ValueLine
-
- isByte(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isByte(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as a byte.
- isByte() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isByte() - Method in class nl.taico.configplus.ValueLine
-
- isChar(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isChar(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as a char.
- isChar() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isChar() - Method in class nl.taico.configplus.ValueLine
-
- isColor(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- isColor(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- isColor(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- isColor() - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- isColor() - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
- isConfigurationSection(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Deprecated.
- isConfigurationSection(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
Deprecated.
- isConfigurationSection(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
Deprecated.
- isDouble(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isDouble(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as a double.
- isDouble() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isDouble() - Method in class nl.taico.configplus.ValueLine
-
- ISection - Interface in nl.taico.configplus.interfaces
-
- isFloat(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isFloat(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as a float.
- isFloat() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isFloat() - Method in class nl.taico.configplus.ValueLine
-
- isInt(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isInt(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as an int.
- isInt() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isInt() - Method in class nl.taico.configplus.ValueLine
-
- isItemStack(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- isItemStack(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- isItemStack(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- isList(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- isList(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- isList(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- isLocation(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- isLocation(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- isLocation(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- isLocation(String) - Static method in class nl.taico.configplus.bukkit.BukkitUtil
-
- isLocation() - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- isLocation(String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- isLocation() - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
- isLocationNoWorld(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- isLocationNoWorld(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- isLocationNoWorld(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- isLocationNoWorld(String) - Static method in class nl.taico.configplus.bukkit.BukkitUtil
-
- isLocationNoWorld() - Method in class nl.taico.configplus.bukkit.BukkitValueLine
-
- isLocationNoWorld(String) - Method in interface nl.taico.configplus.bukkit.IBukkitSection
-
- isLocationNoWorld() - Method in interface nl.taico.configplus.bukkit.IBukkitValue
-
- isLong(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isLong(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as a long.
- isLong() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isLong() - Method in class nl.taico.configplus.ValueLine
-
- isOfflinePlayer(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- isOfflinePlayer(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- isOfflinePlayer(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- isSet(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
- isSet(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- isSet(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- isShort(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isShort(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as a short.
- isShort() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isShort() - Method in class nl.taico.configplus.ValueLine
-
- isShortType() - Method in class nl.taico.configplus.ListLine
-
- isString(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- isString(String) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as a String.
- isString() - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isString() - Method in class nl.taico.configplus.ValueLine
-
- isT(String, Class<T>) - Method in class nl.taico.configplus.interfaces.CSection
-
- isT(String, Class<T>) - Method in interface nl.taico.configplus.interfaces.IBasicSection
-
Checks if the entry at the given path can be interpreted as an instance of the given class.
- isT(Class<T>) - Method in interface nl.taico.configplus.interfaces.IBasicValue
-
- isT(Class<T>) - Method in class nl.taico.configplus.ValueLine
-
- isVector(String) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Deprecated.
- isVector(String) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
Deprecated.
- isVector(String) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
Deprecated.
L
- length() - Method in class nl.taico.configplus.Comment
-
- Line - Class in nl.taico.configplus
-
- Line() - Constructor for class nl.taico.configplus.Line
-
- Line(String) - Constructor for class nl.taico.configplus.Line
-
- lines - Variable in class nl.taico.configplus.Config
-
The original contents of the config file.
- lines2 - Variable in class nl.taico.configplus.Config
-
Holds the converted configuration.
- ListLine - Class in nl.taico.configplus
-
Represents a YAML List.
- ListLine(String, boolean) - Constructor for class nl.taico.configplus.ListLine
-
- load() - Method in class nl.taico.configplus.Config
-
- load(File) - Method in class nl.taico.configplus.Config
-
- load() - Method in interface nl.taico.configplus.interfaces.IConfig
-
(Re)loads this config from disk.
- loc - Static variable in class nl.taico.configplus.bukkit.BukkitUtil
-
- loc2 - Static variable in class nl.taico.configplus.bukkit.BukkitUtil
-
- lock - Variable in class nl.taico.configplus.Config
-
- logger - Variable in class nl.taico.configplus.Config
-
M
- map - Variable in class nl.taico.configplus.Config
-
Allows fast, non blocking access to this configuration, only contains ValueLines and ListLines.
N
- next(String) - Method in class nl.taico.configplus.CPath
-
- nl.taico.configplus - package nl.taico.configplus
-
- nl.taico.configplus.bukkit - package nl.taico.configplus.bukkit
-
- nl.taico.configplus.interfaces - package nl.taico.configplus.interfaces
-
- nl.taico.configplus.util - package nl.taico.configplus.util
-
- nr - Static variable in class nl.taico.configplus.Converter
-
P
- parent - Variable in class nl.taico.configplus.CPath
-
- parent - Variable in class nl.taico.configplus.Section
-
- parent - Variable in class nl.taico.configplus.SectionSnapshot
-
- path - Variable in class nl.taico.configplus.Line
-
- path - Variable in class nl.taico.configplus.Section
-
- path - Variable in class nl.taico.configplus.SectionSnapshot
-
- pathPart - Variable in class nl.taico.configplus.CPath
-
R
- registerSerializable(ConfigSerializable<?>) - Static method in class nl.taico.configplus.ConfigPlus
-
- reloadConfig() - Method in class nl.taico.configplus.Config
-
Reloads this config from disk.
- reloadConfig() - Method in interface nl.taico.configplus.interfaces.IConfig
-
Reloads this config from disk.
- remove(String, boolean) - Method in class nl.taico.configplus.Config
-
- remove(String) - Method in class nl.taico.configplus.interfaces.CSection
-
- remove(String) - Method in interface nl.taico.configplus.interfaces.ISection
-
Removes a Single value, List or Section from the config.
- remove(String, boolean) - Method in interface nl.taico.configplus.interfaces.ISection
-
Removes a Single value, List or Section from the config.
- remove(String, boolean) - Method in class nl.taico.configplus.Section
-
- remove(String) - Method in class nl.taico.configplus.SectionSnapshot
-
- remove(String, boolean) - Method in class nl.taico.configplus.SectionSnapshot
-
- removeBatch(Iterable<String>) - Method in class nl.taico.configplus.interfaces.CSection
-
- removeBatch(String...) - Method in class nl.taico.configplus.interfaces.CSection
-
- removeBatch(Iterable<String>) - Method in interface nl.taico.configplus.interfaces.ISection
-
Removes a batch of entries from the config.
- removeBatch(String...) - Method in interface nl.taico.configplus.interfaces.ISection
-
Removes a batch of entries from the config.
- removeBatch(Iterable<String>) - Method in class nl.taico.configplus.SectionSnapshot
-
- removeBatch(String...) - Method in class nl.taico.configplus.SectionSnapshot
-
- removeComment(String, boolean, int) - Method in class nl.taico.configplus.Config
-
Removes matching comments from this Config.
- removeEntry(Line) - Method in class nl.taico.configplus.Config
-
- removeEntry(Line) - Method in interface nl.taico.configplus.interfaces.ISection
-
- removeEntry(Line) - Method in class nl.taico.configplus.Section
-
- removeEntry(Line) - Method in class nl.taico.configplus.SectionSnapshot
-
- removeQuotes(String) - Static method in class nl.taico.configplus.util.Util
-
- renew() - Method in class nl.taico.configplus.Config
-
- renew() - Method in interface nl.taico.configplus.interfaces.ISection
-
- renew() - Method in class nl.taico.configplus.Section
-
- renew() - Method in class nl.taico.configplus.SectionSnapshot
-
S
- saveConfig() - Method in class nl.taico.configplus.Config
-
Saves this config and returns its success.
- saveConfig() - Method in interface nl.taico.configplus.interfaces.IConfig
-
Saves this config and returns its success.
- saveConfig() - Method in interface nl.taico.configplus.interfaces.ISection
-
- saveConfig() - Method in class nl.taico.configplus.Section
-
- saveConfig() - Method in class nl.taico.configplus.SectionSnapshot
-
- saveDefaultConfig() - Method in class nl.taico.configplus.Config
-
Saves the default config if this config file doesn't exist yet.
Otherwise does nothing.
- saveDefaultConfig() - Method in interface nl.taico.configplus.interfaces.IConfig
-
Saves the default config if this config file doesn't exist yet.
Otherwise does nothing.
- Section - Class in nl.taico.configplus
-
A Section is a part of a config file.
It is basically just a path.
Example config.yml:
Simple Value 1: True
Simple Value 2: 20
Simple Value 3: 10.01
Simple Value 4: This is a simple string
Simple Value 5: "Quotes \" are required \'"
Short List 1: ["10", "Hey", "Yes"]
List 2:
- Yes
- 20
- 10.01
- This is a simple string
Section 1:
A value: 10
Subsection 1:
A value: 20
A list:
- 20
- 30
Section 2:
Subsection:
A value: true
Example Code:
Config config = Config.getNewConfig(getLogger(), new File(""), "config.yml");
ISection section1 = config.getSection("Section 1");
config.getKeys("section1", false);
//[Section1.A value, Section1.Subsection 1, Section1.A list]
section1.getKeys(false);
//[A value, Subsection 1, A list]
section1.getKeys(true);
//[A value, Subsection 1, Subsection 1.A value, A list]
//(Returned order can be different)
config.getString("Section1.A value");
//10
section1.getString("A value");
//10
section1.set("A list", new int[] {20, 30});
config.getIntegerList("Section1.A list");
//[20, 30]
config.getDoubleList("Section1.A list");
//[20.0, 30.0]
section1.getStringList("A list");
//["20", "30"]
section1.set("A list", new double[] {11.0, 12.9, 9.9999999});
section1.getIntegerList("A list");
//[11, 12, 9]
section1.getStringList("A list");
//["11.0", "12.9", "9.99999"] (rounded to 5 decimals)
- Section(ISection, String) - Constructor for class nl.taico.configplus.Section
-
- SectionLine - Class in nl.taico.configplus
-
- SectionLine(String) - Constructor for class nl.taico.configplus.SectionLine
-
- SectionSnapshot - Class in nl.taico.configplus
-
- SectionSnapshot(ISection, String) - Constructor for class nl.taico.configplus.SectionSnapshot
-
- separateLastComments() - Method in class nl.taico.configplus.ListLine
-
Removes the comments from the end of the list and returns them.
- serialize(T) - Method in interface nl.taico.configplus.ConfigSerializable
-
- serialize(Object) - Static method in class nl.taico.configplus.util.SerializeUtil
-
- SerializeUtil - Class in nl.taico.configplus.util
-
- SerializeUtil() - Constructor for class nl.taico.configplus.util.SerializeUtil
-
- set(String, Object) - Method in class nl.taico.configplus.bukkit.BukkitConfig
-
Sets the value of the item at the given path to the given value.
If value is null, the entry is removed.
This is a shortcut for set(path, true, value)
- set(String, Object) - Method in class nl.taico.configplus.bukkit.BukkitSection
-
- set(String, Object) - Method in class nl.taico.configplus.bukkit.BukkitSectionSnapshot
-
- set(String, boolean, Object) - Method in class nl.taico.configplus.Config
-
- set(String, boolean, Object) - Method in interface nl.taico.configplus.interfaces.ISection
-
Sets the value of the item at the given path to the given value.
If value is null, the entry is removed.
NOTE: Calling this method WILL affect the actual config, but the changes may or may not be reflected in this IConfigSection.
(Removals and Insertions will not affect SectionSnapshots, but will affect the config.)
- set(String, boolean, Object) - Method in class nl.taico.configplus.Section
-
- set(String, boolean, Object) - Method in class nl.taico.configplus.SectionSnapshot
-
- setComment(String) - Method in class nl.taico.configplus.Comment
-
If
value == null, this comment is set to "" (an empty line).
If value does not start with a # (spaces are ignored), this comment is set to # + value.
Otherwise, this comment is set to the given value.
- setComment(String) - Method in class nl.taico.configplus.CommentLine
-
Sets this CommentLine to the given value.
If the given value does not start with a #, it will be added.
(Leading whitespace is ignored when checking for the #)
- setEntries(Iterable<?>, boolean, boolean) - Method in class nl.taico.configplus.ListLine
-
- setList(String, boolean, boolean, Iterable<?>) - Method in class nl.taico.configplus.Config
-
- setList(String, Iterable<?>) - Method in class nl.taico.configplus.interfaces.CSection
-
- setList(String, boolean, Iterable<?>) - Method in class nl.taico.configplus.interfaces.CSection
-
- setList(String, boolean, boolean, Object...) - Method in class nl.taico.configplus.interfaces.CSection
-
- setList(String, Iterable<?>) - Method in interface nl.taico.configplus.interfaces.ISection
-
Shortcut for
setList(path, true, true, value)
- setList(String, boolean, Iterable<?>) - Method in interface nl.taico.configplus.interfaces.ISection
-
Shortcut for
setList(path, removeComments, true, value)
- setList(String, boolean, boolean, Iterable<?>) - Method in interface nl.taico.configplus.interfaces.ISection
-
Sets the entry at the specified path to a list with the given value.
If this path defines an already existing list entry, it is changed.
If this path defines an already existing single entry, it will be changed into a list.
If this path defines a non existant entry, it and required sections are created and
inserted at the right position in the config.
- setList(String, boolean, boolean, Object...) - Method in interface nl.taico.configplus.interfaces.ISection
-
Converts the given values into a list and passes it to
ISection.setList(String, boolean, boolean, Iterable)
- setList(String, boolean, boolean, Iterable<?>) - Method in class nl.taico.configplus.Section
-
- setList(String, boolean, boolean, Iterable<?>) - Method in class nl.taico.configplus.SectionSnapshot
-
- setShortType(boolean) - Method in class nl.taico.configplus.ListLine
-
- setValue(Object) - Method in class nl.taico.configplus.ValueLine
-
Set the value of this line to the given object.
If the given object is a String with colors,
the colors are replaced with their color codes.
If the given object is a Location, it is saved properly.
- subSequence(int, int) - Method in class nl.taico.configplus.Comment
-
T
- toCharSequence(Object) - Method in class nl.taico.configplus.bukkit.BukkitConverter
-
- toCharSequence(Object) - Method in class nl.taico.configplus.Converter
-
- toCharSequence(Object) - Method in interface nl.taico.configplus.interfaces.IConverter
-
- toConfigFormat(Location) - Static method in class nl.taico.configplus.bukkit.BukkitUtil
-
- toConfigFormatNoWorld(Location) - Static method in class nl.taico.configplus.bukkit.BukkitUtil
-
- toLine() - Method in class nl.taico.configplus.Comment
-
- toSave() - Method in class nl.taico.configplus.CommentLine
-
- toSave(StringBuilder) - Method in class nl.taico.configplus.CommentLine
-
- toSave() - Method in class nl.taico.configplus.EmptyLine
-
- toSave(StringBuilder) - Method in class nl.taico.configplus.EmptyLine
-
- toSave() - Method in class nl.taico.configplus.Line
-
- toSave(StringBuilder) - Method in class nl.taico.configplus.Line
-
- toSave() - Method in class nl.taico.configplus.ListLine
-
- toSave(StringBuilder) - Method in class nl.taico.configplus.ListLine
-
- toSave() - Method in class nl.taico.configplus.SectionLine
-
- toSave(StringBuilder) - Method in class nl.taico.configplus.SectionLine
-
- toSave() - Method in class nl.taico.configplus.ValueLine
-
- toSave(StringBuilder) - Method in class nl.taico.configplus.ValueLine
-
- toString(Object) - Method in class nl.taico.configplus.bukkit.BukkitConverter
-
- toString() - Method in class nl.taico.configplus.Comment
-
- toString() - Method in class nl.taico.configplus.CommentLine
-
- toString(Object) - Method in class nl.taico.configplus.Converter
-
- toString() - Method in class nl.taico.configplus.CPath
-
- toString() - Method in class nl.taico.configplus.EmptyLine
-
- toString(Object) - Method in interface nl.taico.configplus.interfaces.IConverter
-
- toString() - Method in class nl.taico.configplus.Line
-
- toString() - Method in class nl.taico.configplus.ListLine
-
- toString() - Method in class nl.taico.configplus.SectionLine
-
- toString() - Method in class nl.taico.configplus.ValueLine
-
- trimLeft(String) - Static method in class nl.taico.configplus.util.Util
-
U
- Util - Class in nl.taico.configplus.util
-
- Util() - Constructor for class nl.taico.configplus.util.Util
-
- uuid - Static variable in class nl.taico.configplus.bukkit.BukkitConverter
-
V
- validatePath(String) - Static method in class nl.taico.configplus.Section
-
- value - Variable in class nl.taico.configplus.ValueLine
-
- ValueLine - Class in nl.taico.configplus
-
Represents a single YAML value.
- ValueLine(String, String) - Constructor for class nl.taico.configplus.ValueLine
-
A B C D E F G H I L M N P R S T U V
Copyright © 2014. All rights reserved.