Package | Description |
---|---|
org.simpleyaml.configuration.file |
Modifier and Type | Method and Description |
---|---|
static YamlFile |
YamlFile.loadConfiguration(File file)
Creates a new
YamlFile , loading from the given file (without comments). |
static YamlFile |
YamlFile.loadConfiguration(File file,
boolean withComments)
Creates a new
YamlFile , loading from the given file. |
static YamlFile |
YamlFile.loadConfiguration(InputStream stream)
Deprecated.
this method loads the entire file into memory, for larger files please use
loadConfiguration(SupplierIO.InputStream) |
static YamlFile |
YamlFile.loadConfiguration(InputStream stream,
boolean withComments)
Deprecated.
this method loads the entire file into memory, for larger files please use
loadConfiguration(SupplierIO.InputStream, boolean) |
static YamlFile |
YamlFile.loadConfiguration(Reader reader)
Deprecated.
this method loads the entire file into memory, for larger files please use
loadConfiguration(SupplierIO.Reader) |
static YamlFile |
YamlFile.loadConfiguration(Reader reader,
boolean withComments)
Deprecated.
this method loads the entire file into memory, for larger files please use
loadConfiguration(SupplierIO.Reader, boolean) |
static YamlFile |
YamlFile.loadConfiguration(SupplierIO.InputStream streamSupplier)
Creates a new
YamlFile , loading from the given stream (without comments). |
static YamlFile |
YamlFile.loadConfiguration(SupplierIO.InputStream streamSupplier,
boolean withComments)
Creates a new
YamlFile , loading from the given stream. |
static YamlFile |
YamlFile.loadConfiguration(SupplierIO.Reader readerSupplier)
Creates a new
YamlFile , loading from the given reader (without comments). |
static YamlFile |
YamlFile.loadConfiguration(SupplierIO.Reader readerSupplier,
boolean withComments)
Creates a new
YamlFile , loading from the given reader. |
static YamlFile |
YamlFile.loadConfigurationFromString(String contents)
Creates a new
YamlFile , loading from the specified string contents (without comments). |
static YamlFile |
YamlFile.loadConfigurationFromString(String contents,
boolean withComments)
Creates a new
YamlFile , loading from the specified string contents. |
Constructor and Description |
---|
YamlFileWrapper(YamlFile configuration,
String path) |
YamlFileWrapper(YamlFile configuration,
String path,
YamlFileWrapper parent) |
Copyright © 2023. All rights reserved.