Package top.focess.qq.api.util.config
Class Config
- java.lang.Object
-
- top.focess.qq.api.util.config.Config
-
- Direct Known Subclasses:
DefaultConfig,LangConfig
public abstract class Config extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected YamlConfigurationyaml
-
Constructor Summary
Constructors Modifier Constructor Description protectedConfig(@Nullable File file)protectedConfig(@Nullable InputStream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancontains(String key)protected <T> @Nullable Tget(String key)@Nullable FilegetFile()protected Map<String,Object>getValues()protected voidremove(String key)protected voidsave()protected voidset(String key, Object value)
-
-
-
Field Detail
-
yaml
protected YamlConfiguration yaml
-
-
Constructor Detail
-
Config
protected Config(@Nullable File file) throws YamlLoadException
- Throws:
YamlLoadException
-
Config
protected Config(@Nullable InputStream stream)
-
-