public class YamlBuilder extends YamlSection
YAML Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
YamlBuilder.YamlCommentPart |
static class |
YamlBuilder.YamlEmptyPart |
static class |
YamlBuilder.YamlIntegerPart |
static class |
YamlBuilder.YamlKeyValuePart |
static class |
YamlBuilder.YamlSectionPart |
static class |
YamlBuilder.YamlStringListPart |
static class |
YamlBuilder.YamlStringPart |
| Constructor and Description |
|---|
YamlBuilder() |
YamlBuilder(java.lang.String config,
int indentSpaces) |
| Modifier and Type | Method and Description |
|---|---|
YamlPart |
readPart(YamlSection parent,
java.util.List<java.lang.String> lines,
int level,
int indentSpaces) |
boolean |
writeToFile(java.io.File file) |
addEmptyPart, addPart, addPart, addPart, addSection, comment, getParts, getValue, hasParts, list, setParts, toCode, toStringpublic YamlBuilder()
public YamlBuilder(java.lang.String config,
int indentSpaces)
public YamlPart readPart(YamlSection parent, java.util.List<java.lang.String> lines, int level, int indentSpaces) throws java.io.IOException
java.io.IOExceptionpublic boolean writeToFile(java.io.File file)