|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amoebaman.kitmaster.handlers.KitHandler
public class KitHandler
| Constructor Summary | |
|---|---|
KitHandler()
|
|
| Method Summary | |
|---|---|
static Kit |
getKit(java.lang.String kitName)
Gets a kit by its name. |
static PermsResult |
getKitPerms(org.bukkit.command.CommandSender sender,
Kit kit)
Tests a CommandSender's permissions to access a kit. |
static java.util.ArrayList<Kit> |
getKits()
Gets the list of all registered kits. |
static boolean |
isKit(java.lang.String kitName)
Tests whether a kit exists that matches the given name. |
static void |
loadKits(java.io.File file)
Loads kits into the internal kit list from a file. |
static Kit |
parseKit(java.io.File file)
Parses a kit from a file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KitHandler()
| Method Detail |
|---|
public static void loadKits(java.io.File file)
file - The file to load kits from.public static Kit parseKit(java.io.File file)
file - The file to parse a kit from.
public static Kit getKit(java.lang.String kitName)
applyParentAttributes() method will be used on the kit prior to returning.
kitName - The name of the desired kit.
public static boolean isKit(java.lang.String kitName)
kitName - The name of the kit to search for.
public static java.util.ArrayList<Kit> getKits()
public static PermsResult getKitPerms(org.bukkit.command.CommandSender sender,
Kit kit)
CommandSender's permissions to access a kit.
sender - The CommandSender to test.kit - The kit to test.
PermsResult that reflects the nature of the testee's permissions for the given kit.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||