Package | Description |
---|---|
org.simpleyaml.configuration.file |
Modifier and Type | Method and Description |
---|---|
YamlFileWrapper |
YamlFileWrapper.addDefault(Object value) |
YamlFileWrapper |
YamlFileWrapper.addDefault(String child,
Object value) |
YamlFileWrapper |
YamlFileWrapper.blankLine()
Set a blank line at the beginning of the block comment.
|
YamlFileWrapper |
YamlFileWrapper.comment(String comment)
Set a block comment above the section or value selected by path.
|
YamlFileWrapper |
YamlFileWrapper.comment(String comment,
YamlCommentFormat yamlCommentFormat)
Set a block comment to the section or value selected by path.
|
YamlFileWrapper |
YamlFileWrapper.comment(String comment,
YamlCommentFormatter yamlCommentFormatter)
Set a block comment to the section or value selected by path.
|
YamlFileWrapper |
YamlFileWrapper.commentSide(String comment)
Set a side comment above the section or value selected by path.
|
YamlFileWrapper |
YamlFileWrapper.commentSide(String comment,
YamlCommentFormat yamlCommentFormat)
Set a side comment to the section or value selected by path.
|
YamlFileWrapper |
YamlFileWrapper.commentSide(String comment,
YamlCommentFormatter yamlCommentFormatter)
Set a side comment to the section or value selected by path.
|
YamlFileWrapper |
YamlFileWrapper.createSection() |
YamlFileWrapper |
YamlFileWrapper.createSection(String child) |
YamlFileWrapper |
YamlFileWrapper.parent() |
YamlFileWrapper |
YamlFile.path(String path)
Get a wrapper builder to set a value to the given path and optionally set comments.
|
YamlFileWrapper |
YamlFileWrapper.path(String path) |
YamlFileWrapper |
YamlFileWrapper.set(Object value) |
YamlFileWrapper |
YamlFileWrapper.set(Object value,
QuoteStyle quoteStyle)
Set the given value to this path.
|
YamlFileWrapper |
YamlFileWrapper.setChild(String child,
Object value) |
YamlFileWrapper |
YamlFileWrapper.setChild(String child,
Object value,
QuoteStyle quoteStyle)
Set the given value to the provided child path.
|
Constructor and Description |
---|
YamlFileWrapper(YamlFile configuration,
String path,
YamlFileWrapper parent) |
Copyright © 2023. All rights reserved.