Package | Description |
---|---|
org.simpleyaml.configuration.file |
Modifier and Type | Class and Description |
---|---|
class |
YamlFile
An extension of
YamlConfiguration which saves all data in Yaml to a configuration file
with the added possibility to save and manage comments. |
Modifier and Type | Method and Description |
---|---|
YamlConfiguration |
YamlConfigurationOptions.configuration() |
static YamlConfiguration |
YamlConfiguration.loadConfiguration(File file)
Creates a new
YamlConfiguration , loading from the given file. |
static YamlConfiguration |
YamlConfiguration.loadConfiguration(InputStream stream)
Deprecated.
this method loads the entire file into memory, for larger files please use
load(SupplierIO.InputStream) |
static YamlConfiguration |
YamlConfiguration.loadConfiguration(Reader reader)
Deprecated.
this method loads the entire file into memory, for larger files please use
load(SupplierIO.Reader) |
static YamlConfiguration |
YamlConfiguration.loadConfiguration(SupplierIO.InputStream streamSupplier)
Creates a new
YamlConfiguration , loading from the given input stream. |
static YamlConfiguration |
YamlConfiguration.loadConfiguration(SupplierIO.Reader readerSupplier)
Creates a new
YamlConfiguration , loading from the given reader. |
static YamlConfiguration |
YamlConfiguration.loadConfigurationFromString(String contents)
Creates a new
YamlConfiguration , loading from the specified string contents. |
Constructor and Description |
---|
YamlConfigurationOptions(YamlConfiguration configuration) |
Copyright © 2023. All rights reserved.