public class GsonConfigurationLoader extends AbstractConfigurationLoader<ConfigurationNode>
| Modifier and Type | Class and Description |
|---|---|
static class |
GsonConfigurationLoader.Builder |
CONFIGURATE_LINE_SEPARATOR, LINE_SPLITTER, source, SYSTEM_LINE_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
GsonConfigurationLoader(GsonConfigurationLoader.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static GsonConfigurationLoader.Builder |
builder() |
ConfigurationNode |
createEmptyNode(ConfigurationOptions options)
Return an empty node of the most appropriate type for this loader
|
protected void |
loadInternal(ConfigurationNode node,
BufferedReader reader) |
void |
saveInternal(ConfigurationNode node,
Writer writer) |
canLoad, canSave, getDefaultCommentHandler, getDefaultOptions, load, saveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEmptyNode, loadprotected GsonConfigurationLoader(GsonConfigurationLoader.Builder builder)
public static GsonConfigurationLoader.Builder builder()
protected void loadInternal(ConfigurationNode node, BufferedReader reader) throws IOException
loadInternal in class AbstractConfigurationLoader<ConfigurationNode>IOExceptionpublic void saveInternal(ConfigurationNode node, Writer writer) throws IOException
saveInternal in class AbstractConfigurationLoader<ConfigurationNode>IOExceptionpublic ConfigurationNode 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.