| Package | Description |
|---|---|
| com.codelanx.codelanxlib.config | |
| com.codelanx.codelanxlib.data | |
| com.codelanx.codelanxlib.data.types |
| Modifier and Type | Method and Description |
|---|---|
default <T extends FileDataType> |
PluginFile.init(Class<T> clazz)
Loads the lang values from the configuration file.
|
static <T extends FileDataType> |
Config.retrieve(T file,
Config config)
Retrieves an anonymous value which can utilize a
Config parameter to retrieve data from any source |
| Modifier and Type | Method and Description |
|---|---|
FileDataType |
PluginFile.getConfig()
Returns the relevant
FileDataType for this config. |
| Modifier and Type | Method and Description |
|---|---|
default Config |
Config.fromOther(FileDataType t)
Facade method for
Config.retrieve(FileDataType, Config) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends FileDataType> |
FileDataType.newInstance(Class<T> clazz,
File location)
Returns a new instance of a
FileDataType based on the passed
class instance. |
| Modifier and Type | Class and Description |
|---|---|
class |
Json
Represents a JSON file that has been parsed and loaded into memory.
|
class |
Yaml
Represents a YAML file that is parsed and loaded into memory.
|
Copyright © 2015. All rights reserved.