Package | Description |
---|---|
org.thales.punch.settings.api |
Copyright © 2016-2021 Thales Services Numériques
Licensed under the Thales Inner Source Software License:
Version 1.2, InnerOpen - Distribution Controlled
You may not use this file except in compliance with the License.
|
Modifier and Type | Method and Description |
---|---|
SettingsMapBuilder |
SettingsMapBuilder.addNestedProperty(Object value,
String... keys)
Add an initial nested property.
|
SettingsMapBuilder |
SettingsMapBuilder.addProperty(String key,
Object value)
Before getting your map, fill in some values.
|
SettingsMapBuilder |
SettingsMapBuilder.fromBytes(byte[] content)
build your settings map from bytes
|
SettingsMapBuilder |
SettingsMapBuilder.fromDirectory(String pathDir)
build your settings map from the content of a directory.
|
SettingsMapBuilder |
SettingsMapBuilder.fromFile(File file) |
SettingsMapBuilder |
SettingsMapBuilder.fromFile(Path path)
Return a builder for a yml, yaml json or hjson file.
|
SettingsMapBuilder |
SettingsMapBuilder.fromFile(String path)
Return a builder for a simple json or hjson file.
|
SettingsMapBuilder |
SettingsMapBuilder.fromString(String str)
build your settings map from a String
|
SettingsMapBuilder |
SettingsMapBuilder.fromYaml(String str)
build your settings map from YAML as String
|
SettingsMapBuilder |
SettingsMapBuilder.putAll(Map<? extends String,? extends Object> m)
Add an initial collection to the content of your list
|
SettingsMapBuilder |
SettingsMapBuilder.setJsonDecoding(boolean b)
By default files read from zookeeper of from the local file system are automatically
decoded as json (if, of course, thier content is json compatible).
|
SettingsMapBuilder |
SettingsMapBuilder.setName(String name)
Associate a name to you setting map.
|
Copyright © 2014–2023. All rights reserved.