Package | Description |
---|---|
org.simpleyaml.configuration.file | |
org.simpleyaml.configuration.implementation.api | |
org.simpleyaml.configuration.implementation.snakeyaml |
Modifier and Type | Method and Description |
---|---|
QuoteStyle |
YamlConfigurationOptions.QuoteStyleDefaults.getDefaultQuoteStyle()
Get the default quote style.
|
QuoteStyle |
YamlConfigurationOptions.QuoteStyleDefaults.getQuoteStyle(Class<?> valueClass)
Get the quote style to apply to a specific type.
|
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,QuoteStyle> |
YamlConfigurationOptions.QuoteStyleDefaults.getQuoteStyles()
Get the overriden quote styles for every specific type set.
|
Modifier and Type | Method and Description |
---|---|
YamlFileWrapper |
YamlFileWrapper.set(Object value,
QuoteStyle quoteStyle)
Set the given value to this path.
|
void |
YamlConfiguration.set(String path,
Object value,
QuoteStyle quoteStyle)
Sets the specified path to the given value.
|
YamlFileWrapper |
YamlFileWrapper.setChild(String child,
Object value,
QuoteStyle quoteStyle)
Set the given value to the provided child path.
|
YamlConfigurationOptions.QuoteStyleDefaults |
YamlConfigurationOptions.QuoteStyleDefaults.setDefaultQuoteStyle(QuoteStyle defaultQuoteStyle)
Set the default quote style.
|
YamlConfigurationOptions.QuoteStyleDefaults |
YamlConfigurationOptions.QuoteStyleDefaults.setQuoteStyle(Class<?> valueClass,
QuoteStyle quoteStyle)
Set the default quote style for a specific type.
|
Modifier and Type | Field and Description |
---|---|
protected QuoteStyle |
QuoteValue.quoteStyle |
Modifier and Type | Method and Description |
---|---|
QuoteStyle |
QuoteValue.getQuoteStyle() |
static QuoteStyle |
QuoteStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuoteStyle[] |
QuoteStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
QuoteValue(T value,
QuoteStyle quoteStyle) |
Modifier and Type | Method and Description |
---|---|
static org.yaml.snakeyaml.DumperOptions.ScalarStyle |
SnakeYamlQuoteValue.getQuoteScalarStyle(QuoteStyle quoteStyle) |
Copyright © 2023. All rights reserved.