Class YamlConfig<T>
java.lang.Object
ca.spottedleaf.yamlconfig.config.YamlConfig<T>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionYamlConfig(Class<? extends T> clazz, T dfl) YamlConfig(Class<? extends T> clazz, T dfl, TypeAdapterRegistry registry) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidload(InputStream is) voidload(InputStream is, Charset charset) voidvoidvoidvoidsave(OutputStream os) voidsave(OutputStream os, String header) saveToString(String header)
-
Field Details
-
typeAdapters
-
config
-
-
Constructor Details
-
YamlConfig
-
YamlConfig
-
-
Method Details
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
load
-
save
- Throws:
IOException
-
save
- Throws:
IOException
-
save
- Throws:
IOException
-
save
- Throws:
IOException
-
saveToString
-
saveToString
-
callInitialisers
public void callInitialisers()
-