| Package | Description |
|---|---|
| se.l4.commons.config | |
| se.l4.commons.config.internal |
| Modifier and Type | Method and Description |
|---|---|
ConfigBuilder |
ConfigBuilder.addFile(File file)
Add a file that should be loaded.
|
ConfigBuilder |
ConfigBuilder.addFile(Path path)
Add a file that should be loaded.
|
ConfigBuilder |
ConfigBuilder.addFile(String path)
Add a file that should be loaded.
|
ConfigBuilder |
ConfigBuilder.addStream(InputStream stream)
Add a stream that should be read.
|
static ConfigBuilder |
Config.builder()
Get a new
ConfigBuilder to create a new configuration. |
ConfigBuilder |
ConfigBuilder.withRoot(File root)
Set the root folder of the configuration.
|
ConfigBuilder |
ConfigBuilder.withRoot(Path path)
Set the root folder of the configuration.
|
ConfigBuilder |
ConfigBuilder.withRoot(String root)
Set the root folder of the configuration.
|
ConfigBuilder |
ConfigBuilder.withSerializerCollection(SerializerCollection serializers)
Set the the
SerializerCollection to use when reading the
configuration files. |
ConfigBuilder |
ConfigBuilder.withValidatorFactory(javax.validation.ValidatorFactory validation)
Set the
ValidatorFactory to use when validating loaded
configuration objects. |
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigBuilderImpl
Builder for configuration instances.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigBuilder |
ConfigBuilderImpl.addFile(File file) |
ConfigBuilder |
ConfigBuilderImpl.addFile(Path path) |
ConfigBuilder |
ConfigBuilderImpl.addFile(String path) |
ConfigBuilder |
ConfigBuilderImpl.addStream(InputStream stream) |
ConfigBuilder |
ConfigBuilderImpl.withRoot(File root) |
ConfigBuilder |
ConfigBuilderImpl.withRoot(Path path) |
ConfigBuilder |
ConfigBuilderImpl.withRoot(String root) |
ConfigBuilder |
ConfigBuilderImpl.withSerializerCollection(SerializerCollection serializers) |
ConfigBuilder |
ConfigBuilderImpl.withValidatorFactory(javax.validation.ValidatorFactory validation) |
Copyright © 2016. All rights reserved.