public class AnnoyingResource extends AnnoyingFile
resources folder| Modifier and Type | Class and Description |
|---|---|
static class |
AnnoyingResource.ResourceOptions
Represents the options for the
AnnoyingResource |
AnnoyingFile.FileOptionsfile, fileOptions, path, plugin| Constructor and Description |
|---|
AnnoyingResource(@NotNull AnnoyingPlugin plugin,
@NotNull java.lang.String path)
Constructs and loads a new
AnnoyingResource from the path, the file MUST exist in the resources folder |
AnnoyingResource(@NotNull AnnoyingPlugin plugin,
@NotNull java.lang.String path,
@Nullable AnnoyingResource.ResourceOptions resourceOptions)
Constructs and loads a new
AnnoyingResource from the path, the file MUST exist in the resources folder |
| Modifier and Type | Method and Description |
|---|---|
void |
create()
Creates the
AnnoyingFile.file |
delete, load, save, setSavebuildHeader, convertMapsToSections, loadConfiguration, loadConfiguration, loadConfiguration, loadFromString, options, parseHeader, saveToStringload, load, load, load, save, saveaddDefault, addDefaults, addDefaults, getDefaults, getParent, setDefaultscontains, 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, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isPrimitiveWrapper, isSet, isString, isVector, mapChildrenKeys, mapChildrenValues, set, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, 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, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isSet, isString, isVector, setpublic AnnoyingResource(@NotNull
@NotNull AnnoyingPlugin plugin,
@NotNull
@NotNull java.lang.String path,
@Nullable
@Nullable AnnoyingResource.ResourceOptions resourceOptions)
AnnoyingResource from the path, the file MUST exist in the resources folderplugin - the AnnoyingPlugin instance (used in AnnoyingFile.load())path - the path to the file (relative to the plugin's folder)resourceOptions - the options for the filepublic AnnoyingResource(@NotNull
@NotNull AnnoyingPlugin plugin,
@NotNull
@NotNull java.lang.String path)
AnnoyingResource from the path, the file MUST exist in the resources folderplugin - the AnnoyingPlugin instance (used in AnnoyingFile.load())path - the path to the file (relative to the plugin's folder)AnnoyingResource(AnnoyingPlugin, String, ResourceOptions)public void create()
AnnoyingFileAnnoyingFile.filecreate in class AnnoyingFile