Index
All Classes and Interfaces|All Packages
A
- AFTER_NESTED - Enum constant in enum org.spongepowered.configurate.yaml.BlankLineStyle
-
Add a blank line after a nested node.
Example:
B
- BEFORE_COMMENT - Enum constant in enum org.spongepowered.configurate.yaml.BlankLineStyle
-
Prepend a blank line before every node with a comment, except from the first child.
Example: - BLANK_LINE_STYLE - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
The blank line style for writing YAML documents.
- BLANK_LINE_STYLE_OVERRIDE - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader
-
The amount of blank lines that a specific node should have.
- blankLineStyle() - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Gets the explicitly applied current blank line styling.
- blankLineStyle(BlankLineStyle) - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Sets the blank line style handling for all written files.
- BlankLineStyle - Enum in org.spongepowered.configurate.yaml
-
Representation of blank lines in a YAML document.
- BLOCK - Enum constant in enum org.spongepowered.configurate.yaml.NodeStyle
-
Always use block style.
- build() - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
- builder() - Static method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader
-
Creates a new
YamlConfigurationLoaderbuilder.
C
- COMMENTS_ENABLED - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Whether comments are being read and written.
- commentsEnabled() - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Get whether comment handling is enabled.
- commentsEnabled(boolean) - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Set whether comment handling is enabled on this loader.
- createNode(ConfigurationOptions) - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader
D
- DOUBLE_QUOTED - Enum constant in enum org.spongepowered.configurate.yaml.ScalarStyle
-
A double-quoted string.
F
- FLOW - Enum constant in enum org.spongepowered.configurate.yaml.NodeStyle
-
Always use flow style.
- FOLDED - Enum constant in enum org.spongepowered.configurate.yaml.ScalarStyle
-
Folded scalar.
I
- indent() - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Gets the level of indentation to be used by the resultant loader.
- indent(int) - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Sets the level of indentation the resultant loader should use.
- INDENT - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
The indent size (in spaces) to use for documents emitted by the created loader.
K
- KEEP - Enum constant in enum org.spongepowered.configurate.yaml.BlankLineStyle
-
Keep the blank lines just like they were read.
Note that this option, unlike the others, will also keep read blank lines (and store it in the comment.) These blank lines are stored using a special character, so if you write to a different format you may have to remove them manually.
L
- LINE_LENGTH - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
The line length before the scalar representation is split into multiple lines.
- lineLength() - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Get the maximum length of a configuration line.
- lineLength(int) - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Set the maximum length of a configuration line.
- LITERAL - Enum constant in enum org.spongepowered.configurate.yaml.ScalarStyle
-
Literal scalar.
- loadInternal(CommentedConfigurationNode, BufferedReader) - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader
N
- NODE_STYLE - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
The collection node style to use globally when emitting with this loader.
- NODE_STYLE - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader
-
The YAML node style to use for collection nodes.
- nodeStyle() - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Gets the node style to be used by the resultant loader.
- nodeStyle(NodeStyle) - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
Sets the node style the built loader should use.
- NodeStyle - Enum in org.spongepowered.configurate.yaml
-
Representation of collections and mappings in a YAML document.
- NONE - Enum constant in enum org.spongepowered.configurate.yaml.BlankLineStyle
-
Don't do any blank line styling.
O
- optionSchema() - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
- org.spongepowered.configurate.yaml - package org.spongepowered.configurate.yaml
-
Configuration loader for the YAML 1.1 format.
R
- ROOT_CHILDREN - Enum constant in enum org.spongepowered.configurate.yaml.BlankLineStyle
-
Add a blank after every root child, except the last.
Example:
S
- saveInternal(ConfigurationNode, Writer) - Method in class org.spongepowered.configurate.yaml.YamlConfigurationLoader
- SCALAR_STYLE - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader
-
The YAML scalar style this node should attempt to use.
- ScalarStyle - Enum in org.spongepowered.configurate.yaml
-
Style that can be used to represent a scalar.
- SCHEMA - Static variable in class org.spongepowered.configurate.yaml.YamlConfigurationLoader.Builder
-
A schema of options available to configure the YAML loader.
- SINGLE_QUOTED - Enum constant in enum org.spongepowered.configurate.yaml.ScalarStyle
-
A single-quoted string.
U
- UNQUOTED - Enum constant in enum org.spongepowered.configurate.yaml.ScalarStyle
-
String without any quotation.
V
- valueOf(String) - Static method in enum org.spongepowered.configurate.yaml.BlankLineStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.spongepowered.configurate.yaml.NodeStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.spongepowered.configurate.yaml.ScalarStyle
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.spongepowered.configurate.yaml.BlankLineStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.spongepowered.configurate.yaml.NodeStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.spongepowered.configurate.yaml.ScalarStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
Y
- YamlConfigurationFormat - Class in org.spongepowered.configurate.yaml
-
A
ConfigurationFormatfor the YAML configuration loader. - YamlConfigurationFormat() - Constructor for class org.spongepowered.configurate.yaml.YamlConfigurationFormat
-
For use by service loader only.
- YamlConfigurationLoader - Class in org.spongepowered.configurate.yaml
-
A loader for YAML-formatted configurations, using the SnakeYAML library for parsing and generation.
- YamlConfigurationLoader.Builder - Class in org.spongepowered.configurate.yaml
-
Builds a
YamlConfigurationLoader.
All Classes and Interfaces|All Packages