Modifier and Type | Method and Description |
---|---|
static ConfigurationOptions |
ConfigurationOptions.defaults()
Create a new options object with defaults set
|
ConfigurationOptions |
SimpleConfigurationNode.getOptions() |
ConfigurationOptions |
ConfigurationNode.getOptions()
Return the options that currently apply to this node
|
ConfigurationOptions |
ConfigurationOptions.setAcceptedTypes(Set<Class<?>> acceptedTypes)
Set types that will be accepted as native values for this configuration
|
ConfigurationOptions |
ConfigurationOptions.setHeader(String header)
Set the header that will be written to a file if
|
ConfigurationOptions |
ConfigurationOptions.setMapFactory(Supplier<ConcurrentMap<Object,ConfigurationNode>> factory)
Return a new options object with the provided option set.
|
ConfigurationOptions |
ConfigurationOptions.setObjectMapperFactory(ObjectMapperFactory factory)
Set the factory to use to produce object mapper instances for this configuration
|
ConfigurationOptions |
ConfigurationOptions.setSerializers(TypeSerializerCollection serializers)
Set the collection of TypeSerializers to be used for lookups
|
Modifier and Type | Method and Description |
---|---|
static SimpleConfigurationNode |
SimpleConfigurationNode.root(ConfigurationOptions options) |
Constructor and Description |
---|
SimpleConfigurationNode(Object key,
SimpleConfigurationNode parent,
ConfigurationOptions options) |
Modifier and Type | Method and Description |
---|---|
static SimpleCommentedConfigurationNode |
SimpleCommentedConfigurationNode.root(ConfigurationOptions options) |
Constructor and Description |
---|
SimpleCommentedConfigurationNode(Object path,
SimpleConfigurationNode parent,
ConfigurationOptions options) |
Modifier and Type | Method and Description |
---|---|
ConfigurationNode |
GsonConfigurationLoader.createEmptyNode(ConfigurationOptions options) |
Modifier and Type | Method and Description |
---|---|
CommentedConfigurationNode |
HoconConfigurationLoader.createEmptyNode(ConfigurationOptions options) |
Modifier and Type | Method and Description |
---|---|
CommentedConfigurationNode |
JSONConfigurationLoader.createEmptyNode(ConfigurationOptions options) |
Modifier and Type | Method and Description |
---|---|
NodeType |
ConfigurationLoader.createEmptyNode(ConfigurationOptions options)
Return an empty node of the most appropriate type for this loader
|
NodeType |
ConfigurationLoader.load(ConfigurationOptions options)
Create a new configuration node populated with the appropriate data, structured with the provided options
|
NodeType |
AbstractConfigurationLoader.load(ConfigurationOptions options) |
Modifier and Type | Method and Description |
---|---|
ConfigurationNode |
YAMLConfigurationLoader.createEmptyNode(ConfigurationOptions options) |
Copyright © 2014–2015 Leaping Ninja. All rights reserved.