public final class BlankFileConfiguration extends AbstractFileConfiguration
mappers, NULL_BOOL, NULL_NUM, NULL_STRING
Constructor and Description |
---|
BlankFileConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String path)
Get an object at a specific path
|
java.lang.Boolean |
getBoolean(java.lang.String path)
Get a Boolean at a specific path
|
java.util.List<FileConfiguration> |
getConfigList(java.lang.String path)
Get a list of FileConfigurations at a specific path
|
FileConfiguration |
getConfigSection(java.lang.String path)
Get a config section as a FileConfiguration at a specific path
|
java.lang.Double |
getDouble(java.lang.String path)
Get a Double at a specific path
|
java.lang.Integer |
getInt(java.lang.String path)
Get an Integer at a specific path
|
<T> java.util.List<T> |
getList(java.lang.String path)
Get a List at a specific path
|
java.lang.Long |
getLong(java.lang.String path)
Get a Long at a specific path
|
java.lang.String |
getString(java.lang.String path)
Get an String at a specific path
|
java.util.List<java.lang.String> |
getStringList(java.lang.String path)
Get a list of strings at a specific path
|
protected java.util.Map<java.lang.String,java.lang.Object> |
retrieveAll() |
get, getAll, getBoolean, getConfigList, getConfigSection, getDouble, getFile, getInt, getList, getLong, getMatch, getString, getStringList, internalLoad, load
public java.lang.Object get(java.lang.String path)
FileConfiguration
path
- Path of the objectpublic FileConfiguration getConfigSection(java.lang.String path)
FileConfiguration
path
- Path of the sectionpublic java.lang.String getString(java.lang.String path)
FileConfiguration
path
- Path of the Stringpublic java.lang.Integer getInt(java.lang.String path)
FileConfiguration
path
- Path of the Integerpublic java.lang.Long getLong(java.lang.String path)
FileConfiguration
path
- Path of the Longpublic java.lang.Double getDouble(java.lang.String path)
FileConfiguration
path
- Path of the Doublepublic java.lang.Boolean getBoolean(java.lang.String path)
FileConfiguration
path
- Path of the Booleanpublic java.util.List<java.lang.String> getStringList(java.lang.String path)
FileConfiguration
path
- Path of the listpublic java.util.List<FileConfiguration> getConfigList(java.lang.String path)
FileConfiguration
path
- Path of the listpublic <T> java.util.List<T> getList(java.lang.String path)
FileConfiguration
T
- Object typepath
- Path of the Listprotected java.util.Map<java.lang.String,java.lang.Object> retrieveAll()
retrieveAll
in class AbstractFileConfiguration