public class JsonSettingsMapImpl extends NamedSettingsMapImpl
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>originatorName| Modifier | Constructor and Description |
|---|---|
|
JsonSettingsMapImpl(File settingsFile)
Build a SettingsMap from a file.
|
|
JsonSettingsMapImpl(File settingsFile,
boolean resolve,
ISettingsMap resolverRules,
String runtime)
Build a SettingsMap from a file.
|
protected |
JsonSettingsMapImpl(com.google.gson.JsonObject settingsJsonObject,
String name) |
|
JsonSettingsMapImpl(Map<String,Object> map,
String name)
Build a ISettingsMap from a map.
|
|
JsonSettingsMapImpl(String inputString,
String inputName)
Transform an input String into a valid ISettingsMap.
|
newSettingsListChild, newSettingsMapChild, put, putAll, putWithNoCloning, setOriginatorNameasFlatValuesMap, asFlatValuesMap, asFlatValuesMapIgnoreSettingsList, asHjsonString, asJsonString, asJsonString, asKvString, asListFlatValuesMapIgnoreSettingsList, asYamlString, childAsJson, childAsRawContent, childAsTarGz, childFileAsMap, childIsDir, childIsFile, getAsBoolean, getAsBoolean, getAsDouble, getAsInteger, getAsInteger, getAsIsoDateTime, getAsLong, getAsLong, getAsMsDuration, getAsRequiredBoolean, getAsRequiredDouble, getAsRequiredInteger, getAsRequiredIsoDateTime, getAsRequiredLong, getAsRequiredObject, getAsRequiredObjectOfClass, getAsRequiredSettingsList, getAsRequiredSettingsMap, getAsRequiredString, getAsRequiredTimeValue, getAsRequiredZonedDateTime, getAsSettingsList, getAsSettingsList, getAsSettingsListOrEmpty, getAsSettingsMap, getAsSettingsMap, getAsString, getAsString, getAsTimeValue, getChildName, getCreateMap, getDeepCopy, getMapOrEmpty, getNestedProperty, getNewInstance, getOrCreateNestedSettingsMap, getOriginatorName, getRequiredNestedProperty, getStringOrFail, getStringOrFail, getTimeValueMs, newSettingsMapChild, overrideWith, putUsingDottedPath, putUsingSlashPath, removeUsingDottedPath, removeUsingSlashPath, setJsonDecoding, setNestedProperty, setPropertyIfMissingclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitchildAsListOfString, childAsMapEntries, childAsMapValues, childAsRequiredListOfString, childAsRequiredString, childAsString, childAsStringContent, getCreateAsListOfMapclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic JsonSettingsMapImpl(Map<String,Object> map, String name)
map - the input mapname - the associated namepublic JsonSettingsMapImpl(String inputString, String inputName)
inputString - your input (hjson or json) stringinputName - the associated name, typically the file name.public JsonSettingsMapImpl(File settingsFile)
settingsFile - your input json filepublic JsonSettingsMapImpl(File settingsFile, boolean resolve, ISettingsMap resolverRules, String runtime)
settingsFile - your input json fileresolve - boolean to activate or not resolver on fileresolverRules - resolver rules as settingsMapprotected JsonSettingsMapImpl(com.google.gson.JsonObject settingsJsonObject,
String name)
Copyright © 2014–2023. All rights reserved.