Package | Description |
---|---|
dev.dejvokep.boostedyaml | |
dev.dejvokep.boostedyaml.settings.updater | |
dev.dejvokep.boostedyaml.updater |
Modifier and Type | Method and Description |
---|---|
UpdaterSettings |
YamlDocument.getUpdaterSettings()
Returns the updater settings associated with the file.
|
UpdaterSettings |
YamlDocument.getUpdaterSettings()
Returns the updater settings associated with the file.
|
Modifier and Type | Method and Description |
---|---|
static YamlDocument |
YamlDocument.create(File document,
GeneralSettings generalSettings,
LoaderSettings loaderSettings,
DumperSettings dumperSettings,
UpdaterSettings updaterSettings)
Creates and initially loads YAML document from the given file using the given settings.
|
static YamlDocument |
YamlDocument.create(File document,
GeneralSettings generalSettings,
LoaderSettings loaderSettings,
DumperSettings dumperSettings,
UpdaterSettings updaterSettings)
Creates and initially loads YAML document from the given file using the given settings.
|
static YamlDocument |
YamlDocument.create(File document,
InputStream defaults,
GeneralSettings generalSettings,
LoaderSettings loaderSettings,
DumperSettings dumperSettings,
UpdaterSettings updaterSettings)
Creates and initially loads YAML document from the given file using the given settings.
|
static YamlDocument |
YamlDocument.create(File document,
InputStream defaults,
GeneralSettings generalSettings,
LoaderSettings loaderSettings,
DumperSettings dumperSettings,
UpdaterSettings updaterSettings)
Creates and initially loads YAML document from the given file using the given settings.
|
static YamlDocument |
YamlDocument.create(InputStream document,
GeneralSettings generalSettings,
LoaderSettings loaderSettings,
DumperSettings dumperSettings,
UpdaterSettings updaterSettings)
Creates and initially loads YAML document from the given stream using the given settings.
|
static YamlDocument |
YamlDocument.create(InputStream document,
GeneralSettings generalSettings,
LoaderSettings loaderSettings,
DumperSettings dumperSettings,
UpdaterSettings updaterSettings)
Creates and initially loads YAML document from the given stream using the given settings.
|
static YamlDocument |
YamlDocument.create(InputStream document,
InputStream defaults,
GeneralSettings generalSettings,
LoaderSettings loaderSettings,
DumperSettings dumperSettings,
UpdaterSettings updaterSettings)
Creates and initially loads YAML document from the given stream using the given settings.
|
static YamlDocument |
YamlDocument.create(InputStream document,
InputStream defaults,
GeneralSettings generalSettings,
LoaderSettings loaderSettings,
DumperSettings dumperSettings,
UpdaterSettings updaterSettings)
Creates and initially loads YAML document from the given stream using the given settings.
|
void |
YamlDocument.setUpdaterSettings(UpdaterSettings updaterSettings)
Associates new updater settings.
|
void |
YamlDocument.setUpdaterSettings(UpdaterSettings updaterSettings)
Associates new updater settings.
|
void |
YamlDocument.update(InputStream defaults,
UpdaterSettings updaterSettings)
Updates the contents against the given defaults using the given updater and associated
general settings. |
void |
YamlDocument.update(InputStream defaults,
UpdaterSettings updaterSettings)
Updates the contents against the given defaults using the given updater and associated
general settings. |
boolean |
YamlDocument.update(UpdaterSettings updaterSettings)
Updates the contents against the
associated defaults using the given updater and
associated general settings. |
boolean |
YamlDocument.update(UpdaterSettings updaterSettings)
Updates the contents against the
associated defaults using the given updater and
associated general settings. |
Modifier and Type | Field and Description |
---|---|
static UpdaterSettings |
UpdaterSettings.DEFAULT
Default updater settings.
|
static UpdaterSettings |
UpdaterSettings.DEFAULT
Default updater settings.
|
Modifier and Type | Method and Description |
---|---|
UpdaterSettings |
UpdaterSettings.Builder.build()
Builds the settings.
|
UpdaterSettings |
UpdaterSettings.Builder.build()
Builds the settings.
|
Modifier and Type | Method and Description |
---|---|
static UpdaterSettings.Builder |
UpdaterSettings.builder(UpdaterSettings settings)
Returns a new builder with the same configuration as the given settings.
|
static UpdaterSettings.Builder |
UpdaterSettings.builder(UpdaterSettings settings)
Returns a new builder with the same configuration as the given settings.
|
Modifier and Type | Method and Description |
---|---|
void |
Relocator.apply(UpdaterSettings settings,
char separator)
Applies all appropriate relocations to the given section (in constructor), one by one using
Relocator.apply(Map,
Route) . |
void |
Relocator.apply(UpdaterSettings settings,
char separator)
Applies all appropriate relocations to the given section (in constructor), one by one using
Relocator.apply(Map,
Route) . |
static void |
Merger.merge(Section document,
Section defaults,
UpdaterSettings settings)
Merges the given document with the defaults.
|
static void |
Merger.merge(Section document,
Section defaults,
UpdaterSettings settings)
Merges the given document with the defaults.
|
static void |
Updater.update(Section document,
Section defaults,
UpdaterSettings updaterSettings,
GeneralSettings generalSettings)
Updates the given document against the given defaults and settings.
|
static void |
Updater.update(Section document,
Section defaults,
UpdaterSettings updaterSettings,
GeneralSettings generalSettings)
Updates the given document against the given defaults and settings.
|
Copyright © 2022. All rights reserved.