Index

A B C E F G H I M O R S T U Y 
All Classes and Interfaces|All Packages|Serialized Form

A

asList() - Static method in interface me.croabeast.file.SectionMappable
Creates an empty SectionMappable.List instance.
asList() - Static method in interface me.croabeast.file.UnitMappable
Creates an empty UnitMappable.List instance.
asList(Map<Integer, List<ConfigurationSection>>) - Static method in interface me.croabeast.file.SectionMappable
Creates a SectionMappable.List instance from the given map.
asList(Map<Integer, List<U>>) - Static method in interface me.croabeast.file.UnitMappable
Creates a new UnitMappable.List instance from the given map.
asSectionMap(String) - Method in interface me.croabeast.file.Configurable
Converts a configuration section into a SectionMappable.Set.
asSet() - Static method in interface me.croabeast.file.SectionMappable
Creates an empty SectionMappable.Set instance.
asSet() - Static method in interface me.croabeast.file.UnitMappable
Creates an empty UnitMappable.Set instance.
asSet(Map<Integer, Set<ConfigurationSection>>) - Static method in interface me.croabeast.file.SectionMappable
Creates a SectionMappable.Set instance from the given map.
asSet(Map<Integer, Set<U>>) - Static method in interface me.croabeast.file.UnitMappable
Creates a new UnitMappable.Set instance from the given map.
asUnitMap(String, Function<ConfigurationSection, U>) - Method in interface me.croabeast.file.Configurable
Converts a configuration section into a UnitMappable.Set by applying a transformation function.

B

BaseBuilder<B> - Interface in me.croabeast.common.builder
A foundational interface for builder patterns, ensuring a self-referential type.

C

Configurable - Interface in me.croabeast.file
Represents an object that can manage and manipulate a FileConfiguration.
ConfigurableFile - Class in me.croabeast.file
Represents a YAML file that supports configuration management by implementing the Configurable interface.
ConfigurableFile(T, String, String) - Constructor for class me.croabeast.file.ConfigurableFile
Constructs a new ConfigurableFile with the specified loader, folder, and name.
ConfigurableFile(T, String) - Constructor for class me.croabeast.file.ConfigurableFile
Constructs a new ConfigurableFile with the specified loader and name.
ConfigurableUnit - Interface in me.croabeast.file
Represents a configuration unit used for handling permissions, groups, and priorities in a configuration section.
contains(String) - Method in interface me.croabeast.file.Configurable
Checks if the configuration contains a specific key, considering default values.
contains(String, boolean) - Method in interface me.croabeast.file.Configurable
Checks if the configuration contains a specific key.
copy() - Method in interface me.croabeast.common.Copyable
Creates and returns a copy of this object.
copy() - Method in class me.croabeast.file.HashMappable
Creates a shallow copy of this HashMappable.
Copyable<T> - Interface in me.croabeast.common
A generic interface that defines a method for creating a copy of an object.

E

equals(Object) - Method in class me.croabeast.file.YAMLFile
Compares this YAMLFile to another object.
equals(String, String) - Method in class me.croabeast.file.YAMLFile
Compares this YAMLFile to another YAMLFile based on folder and name.

F

fileFrom(File, String...) - Method in class me.croabeast.file.ResourceUtils
Creates a File object by resolving the specified child file paths against the given parent directory.
filter(Predicate<T>) - Method in interface me.croabeast.file.Mappable
Filters the stored elements based on the given predicate, modifying the current instance.

G

get(String, Class<T>) - Method in interface me.croabeast.file.Configurable
Retrieves a value from the configuration at the specified path and attempts to cast it to the given type.
get(String, T) - Method in interface me.croabeast.file.Configurable
Retrieves a value from the configuration at the specified path, returning a default if the key does not exist.
getConfiguration() - Method in interface me.croabeast.file.Configurable
Gets the primary configuration associated with this configurable instance.
getConfiguration() - Method in class me.croabeast.file.YAMLFile
Gets the YAML configuration.
getGroup() - Method in interface me.croabeast.file.ConfigurableUnit
Gets the group associated with this unit.
getKeys(String) - Method in interface me.croabeast.file.Configurable
Retrieves all top-level keys within a specified configuration section.
getKeys(String, boolean) - Method in interface me.croabeast.file.Configurable
Retrieves all keys within a specified configuration section.
getName() - Method in interface me.croabeast.file.ConfigurableUnit
Gets the name of the configuration section.
getPermission() - Method in interface me.croabeast.file.ConfigurableUnit
Gets the permission associated with this unit.
getPriority() - Method in interface me.croabeast.file.ConfigurableUnit
Gets the priority associated with this unit.
getResource() - Method in class me.croabeast.file.YAMLFile
Gets the input stream of the resource file.
getSection() - Method in interface me.croabeast.file.ConfigurableUnit
Gets the configuration section associated with this unit.
getSection(String) - Method in interface me.croabeast.file.Configurable
Retrieves a configuration section from the specified path.
getSections(String) - Method in interface me.croabeast.file.Configurable
Retrieves all top-level subsections within a specified configuration section.
getSections(String, boolean) - Method in interface me.croabeast.file.Configurable
Retrieves all subsections within a specified configuration section.
getStoredValues() - Method in class me.croabeast.file.HashMappable
Retrieves all stored values across all keys combined into a single collection.
getStoredValues() - Method in interface me.croabeast.file.Mappable.BaseList
Retrieves all stored values merged into a List.
getStoredValues() - Method in interface me.croabeast.file.Mappable.BaseSet
Retrieves all stored values merged into a Set.
getStoredValues() - Method in interface me.croabeast.file.Mappable
Retrieves all stored values merged into a single collection.
getStoredValues(Supplier<V>) - Method in interface me.croabeast.file.Mappable
Retrieves all stored values merged into a single collection, using the provided supplier to create the collection.
getUnit(Player) - Method in interface me.croabeast.file.UnitMappable
 

H

hashCode() - Method in class me.croabeast.file.YAMLFile
Computes the hash code for this YAMLFile based on its folder and name.
HashMappable<T,C> - Class in me.croabeast.file
A concrete implementation of Mappable backed by a HashMap.
HashMappable(Supplier<C>) - Constructor for class me.croabeast.file.HashMappable
Constructs an empty HashMappable with the specified collection supplier.
HashMappable(Supplier<C>, Map<Integer, ? extends C>) - Constructor for class me.croabeast.file.HashMappable
Constructs a new HashMappable with the mappings copied from the provided map.
hasPerm(CommandSender) - Method in interface me.croabeast.file.ConfigurableUnit
Checks if the given command sender has the permission associated with this unit.

I

instance() - Method in interface me.croabeast.common.builder.BaseBuilder
Provides an instance of the builder, ensuring fluent-style method chaining.
instance() - Method in class me.croabeast.file.HashMappable
Returns this instance as a HashMappable.
isInGroup(CommandSender) - Method in interface me.croabeast.file.ConfigurableUnit
Checks if the given command sender is in the group associated with this unit.
isInGroupAsNull(CommandSender) - Method in interface me.croabeast.file.ConfigurableUnit
Checks if the group associated with this unit is blank or the given sender is in that group.
isInGroupNonNull(CommandSender) - Method in interface me.croabeast.file.ConfigurableUnit
Checks if the group associated with this unit is not blank and the given sender is in that group.
iterator() - Method in interface me.croabeast.file.Mappable
Returns an iterator over the map's entries.

M

Mappable<T,C,B> - Interface in me.croabeast.file
Represents a specialized mapping structure that associates integer keys with collections of elements.
Mappable.BaseList<T,B> - Interface in me.croabeast.file
A sub-interface of Mappable specialized for List collections.
Mappable.BaseSet<T,B> - Interface in me.croabeast.file
A sub-interface of Mappable specialized for Set collections.
me.croabeast.common - package me.croabeast.common
 
me.croabeast.common.builder - package me.croabeast.common.builder
 
me.croabeast.file - package me.croabeast.file
 
me.croabeast.file.plugin - package me.croabeast.file.plugin
 

O

of(ConfigurableUnit) - Static method in interface me.croabeast.file.ConfigurableUnit
Creates a new ConfigurableUnit instance based on the provided ConfigurableUnit.
of(ConfigurationSection) - Static method in interface me.croabeast.file.ConfigurableUnit
Creates a new ConfigurableUnit instance based on the provided configuration section.
of(FileConfiguration) - Static method in interface me.croabeast.file.Configurable
Creates a new Configurable instance from a given FileConfiguration.
of(T, String, File, String...) - Static method in class me.croabeast.file.YAMLUpdater
Creates a new YAMLUpdater instance with ignored keys provided as varargs.
of(T, String, File, List<String>) - Static method in class me.croabeast.file.YAMLUpdater
Creates a new YAMLUpdater instance using the specified resource path and ignored keys.
order(boolean) - Method in interface me.croabeast.file.Mappable
Orders the keys in ascending or descending order.
order(Comparator<Integer>) - Method in class me.croabeast.file.HashMappable
Orders the entries of this HashMappable using the provided comparator.
order(Comparator<Integer>) - Method in interface me.croabeast.file.Mappable
Orders the keys in the mapping based on the given comparator.

R

reload() - Method in class me.croabeast.file.YAMLFile
Reloads the YAML configuration from the file.
ResourceUtils - Class in me.croabeast.file
The ResourceUtils class provides utility methods for handling file resources, such as saving resources to the file system and constructing file paths.
ResourceUtils() - Constructor for class me.croabeast.file.ResourceUtils
 

S

save() - Method in class me.croabeast.file.YAMLFile
Saves the YAML configuration to the file (without debug logging).
save(boolean) - Method in class me.croabeast.file.YAMLFile
Saves the YAML configuration to the file.
saveDefaults() - Method in class me.croabeast.file.YAMLFile
Saves the default configuration if the file does not exist (without debug logging).
saveDefaults(boolean) - Method in class me.croabeast.file.YAMLFile
Saves the default configuration if the file does not exist.
saveResource(InputStream, File, String) - Method in class me.croabeast.file.ResourceUtils
Saves the specified resource to the given file path within the data folder.
saveResource(InputStream, File, String, boolean) - Method in class me.croabeast.file.ResourceUtils
Saves the specified resource to the given file path within the data folder.
SectionMappable<C,S> - Interface in me.croabeast.file
Represents a specialized Mappable for mapping integer keys to collections of ConfigurationSection objects.
SectionMappable.List - Interface in me.croabeast.file
Represents a SectionMappable implementation backed by a List.
SectionMappable.Set - Interface in me.croabeast.file
Represents a SectionMappable implementation backed by a Set.
set(String, T) - Method in interface me.croabeast.file.Configurable
Sets a value in the configuration at the specified path.
setResourcePath(String) - Method in class me.croabeast.file.ConfigurableFile
Sets the resource path for this configuration file.
setResourcePath(String) - Method in class me.croabeast.file.YAMLFile
Sets the resource path for this YAMLFile without debug logging.
setResourcePath(String, boolean) - Method in class me.croabeast.file.YAMLFile
Sets the resource path for this YAMLFile.
setUpdatable(boolean) - Method in class me.croabeast.file.ConfigurableFile
Sets whether this configuration file should be updatable.

T

toList() - Method in interface me.croabeast.file.SectionMappable.Set
Converts this set-based mappable into a list-based mappable.
toList() - Method in interface me.croabeast.file.UnitMappable.Set
Converts this set-based mappable into a list of configurable units.
toSectionMap(ConfigurationSection, String) - Static method in interface me.croabeast.file.Configurable
Converts a configuration section into a SectionMappable.Set instance.
toSet() - Method in interface me.croabeast.file.SectionMappable.List
Converts this list-based mappable into a set-based mappable.
toSet() - Method in interface me.croabeast.file.UnitMappable.List
Converts this list-based mappable into a set of configurable units.
toString() - Method in class me.croabeast.file.YAMLFile
Returns a string representation of this YAMLFile.
toStringList(String) - Method in interface me.croabeast.file.Configurable
Retrieves a list of strings from the configuration at the specified path.
toStringList(ConfigurationSection, String) - Static method in interface me.croabeast.file.Configurable
Converts a configuration section's value into a list of strings.
toStringList(ConfigurationSection, String, List<String>) - Static method in interface me.croabeast.file.Configurable
Converts a configuration section's value into a list of strings.
toUnits(Function<ConfigurationSection, U>) - Method in interface me.croabeast.file.SectionMappable.List
Transforms the contained ConfigurationSection elements into a UnitMappable.List by applying the provided function.
toUnits(Function<ConfigurationSection, U>) - Method in interface me.croabeast.file.SectionMappable.Set
Transforms the contained ConfigurationSection elements into a UnitMappable.Set by applying the provided function.

U

UnitMappable<U,C,UM> - Interface in me.croabeast.file
Represents a mappable collection of configurable units.
UnitMappable.List<U> - Interface in me.croabeast.file
A sub-interface of UnitMappable specialized for list-backed collections.
UnitMappable.Set<U> - Interface in me.croabeast.file
A sub-interface of UnitMappable specialized for set-backed collections.
update() - Method in class me.croabeast.file.YAMLFile
Updates the YAML configuration (without debug logging).
update() - Method in class me.croabeast.file.YAMLUpdater
Updates the YAML configuration file by merging missing keys while preserving comments and formatting.
update(boolean) - Method in class me.croabeast.file.YAMLFile
Updates the YAML configuration.

Y

YAMLFile - Class in me.croabeast.file
YAMLFile is a utility class for managing YAML configuration files in Bukkit plugins.
YAMLFile(Object, String, String) - Constructor for class me.croabeast.file.YAMLFile
Constructs a YAMLFile with the specified loader, folder, and name.
YAMLFile(Object, String) - Constructor for class me.croabeast.file.YAMLFile
Constructs a YAMLFile with the specified loader and name.
YAMLPlugin - Class in me.croabeast.file.plugin
 
YAMLPlugin() - Constructor for class me.croabeast.file.plugin.YAMLPlugin
 
YAMLUpdater - Class in me.croabeast.file
A utility class for updating YAML configuration files while preserving comments and formatting.
A B C E F G H I M O R S T U Y 
All Classes and Interfaces|All Packages|Serialized Form