public class ResourceConfigurationUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static WauzCore |
core
A direct reference to the main class.
|
Constructor and Description |
---|
ResourceConfigurationUtils() |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<java.lang.String> |
getResourceNameList()
Finds all resource names by iterating through all resource configs.
|
protected static int |
resourceConfigGetInt(java.lang.String resource,
java.lang.String path)
Gets an int from a resource config.
|
protected static java.lang.String |
resourceConfigGetString(java.lang.String resource,
java.lang.String path)
Gets a string from a resource config.
|
protected static java.util.List<java.lang.String> |
resourceConfigGetStringList(java.lang.String resource,
java.lang.String path)
Gets a string list from a resource config.
|
private static WauzCore core
protected static java.util.List<java.lang.String> getResourceNameList()
protected static java.lang.String resourceConfigGetString(java.lang.String resource, java.lang.String path)
resource
- The name of the resource config file.path
- The key path of the value to get.protected static java.util.List<java.lang.String> resourceConfigGetStringList(java.lang.String resource, java.lang.String path)
resource
- The name of the resource config file.path
- The key path of the value to get.protected static int resourceConfigGetInt(java.lang.String resource, java.lang.String path)
resource
- The name of the resource config file.path
- The key path of the value to get.