public interface ConfigurationAdapter
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(java.lang.String path,
boolean def)
Gets a boolean from the specified path.
|
java.util.Collection<java.lang.String> |
getGroups(java.lang.String player)
Get all groups this player is in.
|
int |
getInt(java.lang.String path,
int def)
Gets an integer from the specified path.
|
java.util.Collection<?> |
getList(java.lang.String path,
java.util.Collection<?> def)
Get a list from the specified path.
|
java.util.Collection<ListenerInfo> |
getListeners()
Get information about all hosts to bind the proxy to.
|
java.util.Collection<java.lang.String> |
getPermissions(java.lang.String group)
Get all permission corresponding to the specified group.
|
java.util.Map<java.lang.String,ServerInfo> |
getServers()
Get the configuration all servers which may be accessible via the proxy.
|
java.lang.String |
getString(java.lang.String path,
java.lang.String def)
Gets a string from the specified path.
|
void |
load()
Reload all the possible values, and if necessary cache them for
individual getting.
|
void load()
int getInt(java.lang.String path,
int def)
path - the path to retrieve the integer fromdef - the default valuejava.lang.String getString(java.lang.String path,
java.lang.String def)
path - the path to retrieve the string from.def - the default valueboolean getBoolean(java.lang.String path,
boolean def)
path - the path to retrieve the boolean form.def - the default valuejava.util.Collection<?> getList(java.lang.String path,
java.util.Collection<?> def)
path - the path to retrieve the list form.def - the default valuejava.util.Map<java.lang.String,ServerInfo> getServers()
java.util.Collection<ListenerInfo> getListeners()
java.util.Collection<java.lang.String> getGroups(java.lang.String player)
player - the player to checkjava.util.Collection<java.lang.String> getPermissions(java.lang.String group)
group - the group to checkCopyright © 2015-2018 WaterfallMC. All Rights Reserved.