public class HoconConfigurationLoader extends AbstractConfigurationLoader<CommentedConfigurationNode>
| Modifier and Type | Class and Description |
|---|---|
static class |
HoconConfigurationLoader.Builder |
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
CRLF_MATCH |
CONFIGURATE_LINE_SEPARATOR, LINE_SPLITTER, source, SYSTEM_LINE_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
static HoconConfigurationLoader.Builder |
builder() |
CommentedConfigurationNode |
createEmptyNode(ConfigurationOptions options)
Return an empty node of the most appropriate type for this loader
|
void |
loadInternal(CommentedConfigurationNode node,
BufferedReader reader) |
protected void |
saveInternal(ConfigurationNode node,
Writer writer) |
canLoad, canSave, getDefaultCommentHandler, getDefaultOptions, load, saveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEmptyNode, loadpublic static final Pattern CRLF_MATCH
public static HoconConfigurationLoader.Builder builder()
public void loadInternal(CommentedConfigurationNode node, BufferedReader reader) throws IOException
loadInternal in class AbstractConfigurationLoader<CommentedConfigurationNode>IOExceptionprotected void saveInternal(ConfigurationNode node, Writer writer) throws IOException
saveInternal in class AbstractConfigurationLoader<CommentedConfigurationNode>IOExceptionpublic CommentedConfigurationNode createEmptyNode(ConfigurationOptions options)
ConfigurationLoaderoptions - The options to use with this node. Must not be null (take a look at ConfigurationOptions.defaults())Copyright © 2014–2017. All rights reserved.