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(MapFactory 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
|
ConfigurationOptions |
ConfigurationOptions.setShouldCopyDefaults(boolean shouldCopyDefaults)
Set whether defaults should be set when used.
|
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 | Field and Description |
---|---|
protected ConfigurationOptions |
AbstractConfigurationLoader.Builder.defaultOptions |
Modifier and Type | Method and Description |
---|---|
ConfigurationOptions |
ConfigurationLoader.getDefaultOptions()
Get the default options that any new nodes will be created with if no options object is passed.
|
ConfigurationOptions |
AbstractConfigurationLoader.getDefaultOptions()
Get the default options that any new nodes will be created with if no options object is passed.
|
ConfigurationOptions |
AbstractConfigurationLoader.Builder.getDefaultOptions() |
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) |
T |
AbstractConfigurationLoader.Builder.setDefaultOptions(ConfigurationOptions defaultOptions) |
Modifier and Type | Method and Description |
---|---|
ConfigurationNode |
YAMLConfigurationLoader.createEmptyNode(ConfigurationOptions options) |
Copyright © 2014–2017. All rights reserved.