diff --git a/latest/api/allclasses-frame.html b/latest/api/allclasses-frame.html index 472aba1d..659f9a99 100644 --- a/latest/api/allclasses-frame.html +++ b/latest/api/allclasses-frame.html @@ -2,9 +2,9 @@
- +public interface Config +public interface Config extends ConfigMergeableAn immutable map from config paths to config values. Paths are dot-separated expressions such asfoo.bar.baz
. Values are as in JSON @@ -130,7 +130,7 @@ extends on + href="https://github.com/lightbend/config/tree/master/examples">on GitHub. Also be sure to read the package overview which describes the big picture as shown in those examples. @@ -150,7 +150,7 @@ extends spec for + href="https://github.com/lightbend/config/blob/master/HOCON.md">spec for Human-Optimized Config Object Notation. In brief, a path is period-separated so "a.b.c" looks for key c in object b in object a in the root object. Sometimes double quotes are needed around special characters in @@ -202,7 +202,7 @@ extends specification. Resolving substitutions replaces these references with real values. @@ -571,7 +571,7 @@ extendsresolve()
Returns a replacement config with all substitutions (the@@ -652,7 +652,7 @@ extends${foo.bar}
syntax, see the + href="https://github.com/lightbend/config/blob/master/HOCON.md">the spec) resolved.root
-root()+root()Gets the@@ -668,7 +668,7 @@ extendsConfig
as a tree ofConfigObject
. This is a constant-time operation (it is not proportional to the number of values in theConfig
).origin
-origin()+origin()Gets the origin of theConfig
, which may be a file, or a file with a line number, or just a descriptive phrase.@@ -683,7 +683,7 @@ extends
withFallback
-withFallback(ConfigMergeable other)+withFallback(ConfigMergeable other)Description copied from interface:ConfigMergeable
Returns a new value computed by merging this value with another, with keys in this value "winning" over the other one. @@ -694,7 +694,7 @@ extends spec + href="https://github.com/lightbend/config/blob/master/HOCON.md">spec for HOCON. Merging typically occurs when either the same object is created twice in the same file, or two config files are both loaded. For example: @@ -746,10 +746,10 @@ extendsresolve
-resolve()+resolve()Returns a replacement config with all substitutions (the${foo.bar}
syntax, see the + href="https://github.com/lightbend/config/blob/master/HOCON.md">the spec) resolved. Substitutions are looked up using thisConfig
as the root object, that is, a substitution${foo.bar}
will be replaced with the result of @@ -809,7 +809,7 @@ extendsresolve
-resolve(ConfigResolveOptions options)+resolve(ConfigResolveOptions options)Likeresolve()
but allows you to specify non-default options.@@ -826,7 +826,7 @@ extends
isResolved
-boolean isResolved()+boolean isResolved()Checks whether the config is completely resolved. After a successful call toresolve()
it will be completely resolved, but after callingresolve(ConfigResolveOptions)
with @@ -849,7 +849,7 @@ extendsresolveWith
-resolveWith(Config source)+resolveWith(Config source)Likeresolve()
except that substitution values are looked up in the given source, rather than in this instance. This is a special-purpose method which doesn't make sense to use in most cases; @@ -884,7 +884,7 @@ extendsresolveWith
-resolveWith(Config source, +resolveWith(Config source, ConfigResolveOptions options)Like@@ -906,7 +906,7 @@ extendsresolveWith(Config)
but allows you to specify non-default options.checkValid
-void checkValid(Config reference, +void checkValid(Config reference, java.lang.String... restrictToPaths)Validates this config against a reference config, throwing an exception if it is invalid. The purpose of this method is to "fail early" with a @@ -994,7 +994,7 @@ extendshasPath
-boolean hasPath(java.lang.String path)+boolean hasPath(java.lang.String path)Checks whether a value is present and non-null at the given path. This differs in two ways fromMap.containsKey()
as implemented byConfigObject
: it looks for a path expression, not a key; and it @@ -1026,7 +1026,7 @@ extendshasPathOrNull
-boolean hasPathOrNull(java.lang.String path)+boolean hasPathOrNull(java.lang.String path)Checks whether a value is present at the given path, even if the value is null. Most of the getters onConfig
will throw if you try to get a null @@ -1074,7 +1074,7 @@ extendsisEmpty
-boolean isEmpty()+boolean isEmpty()Returns true if theConfig
's root object contains no key-value pairs.@@ -1089,7 +1089,7 @@ extends
entrySet
-java.util.Set<java.util.Map.Entry<java.lang.String,entrySet()+java.util.Set<java.util.Map.Entry<java.lang.String,entrySet()Returns the set of path-value pairs, excluding any null values, found by recursingthe root object
. Note that this is very different fromroot().entrySet()
which returns the set of @@ -1120,7 +1120,7 @@ extendsgetIsNull
-boolean getIsNull(java.lang.String path)+boolean getIsNull(java.lang.String path)Checks whether a value is set to null at the given path, but throws an exception if the value is entirely unset. This method will not throw ifhasPathOrNull(String)
returned true for the same path, so @@ -1152,7 +1152,7 @@ extendsgetBoolean
-boolean getBoolean(java.lang.String path)+boolean getBoolean(java.lang.String path)
- Parameters:
- @@ -1170,7 +1170,7 @@ extends
path
- path expressiongetNumber
-java.lang.Number getNumber(java.lang.String path)+java.lang.Number getNumber(java.lang.String path)
- Parameters:
- @@ -1188,7 +1188,7 @@ extends
path
- path expressiongetInt
-int getInt(java.lang.String path)+int getInt(java.lang.String path)Gets the integer at the given path. If the value at the path has a fractional (floating point) component, it will be discarded and only the integer part will be @@ -1212,7 +1212,7 @@ extendsgetLong
-long getLong(java.lang.String path)+long getLong(java.lang.String path)Gets the long integer at the given path. If the value at the path has a fractional (floating point) component, it will be discarded and only the integer part will be @@ -1235,7 +1235,7 @@ extendsgetDouble
-double getDouble(java.lang.String path)+double getDouble(java.lang.String path)
- Parameters:
- @@ -1253,7 +1253,7 @@ extends
path
- path expressiongetString
-java.lang.String getString(java.lang.String path)+java.lang.String getString(java.lang.String path)
- Parameters:
- @@ -1271,7 +1271,7 @@ extends
path
- path expressiongetEnum
-<T extends java.lang.Enum<T>> T getEnum(java.lang.Class<T> enumClass, +<T extends java.lang.Enum<T>> T getEnum(java.lang.Class<T> enumClass, java.lang.String path)
- Type Parameters:
@@ -1294,7 +1294,7 @@ extendsgetObject
-getObject(java.lang.String path)+getObject(java.lang.String path)
- Parameters:
- @@ -1312,7 +1312,7 @@ extends
path
- path expressiongetConfig
-getConfig(java.lang.String path)+getConfig(java.lang.String path)
- Parameters:
- @@ -1330,7 +1330,7 @@ extends
path
- path expressiongetAnyRef
-java.lang.Object getAnyRef(java.lang.String path)+java.lang.Object getAnyRef(java.lang.String path)Gets the value at the path as an unwrapped Java boxed value (@@ -1350,7 +1350,7 @@ extendsBoolean
,Integer
, and so on - seeConfigValue.unwrapped()
).getValue
-getValue(java.lang.String path)+getValue(java.lang.String path)Gets the value at the given path, unless the value is a null value or missing, in which case it throws just like the other getters. Useget()
on theroot()
object (or other object in the tree) if you @@ -1371,12 +1371,12 @@ extendsgetBytes
-java.lang.Long getBytes(java.lang.String path)+java.lang.Long getBytes(java.lang.String path)Gets a value as a size in bytes (parses special strings like "128M"). If the value is already a number, then it's left alone; if it's a string, it's parsed understanding unit suffixes such as "128K", as documented in the the + href="https://github.com/lightbend/config/blob/master/HOCON.md">the spec.
- Parameters:
@@ -1396,12 +1396,12 @@ extendsgetMemorySize
-getMemorySize(java.lang.String path)+getMemorySize(java.lang.String path)Gets a value as an amount of memory (parses special strings like "128M"). If the value is already a number, then it's left alone; if it's a string, it's parsed understanding unit suffixes such as "128K", as documented in the the + href="https://github.com/lightbend/config/blob/master/HOCON.md">the spec.
- Parameters:
@@ -1424,12 +1424,12 @@ extendsgetMilliseconds
@Deprecated -java.lang.Long getMilliseconds(java.lang.String path)+java.lang.Long getMilliseconds(java.lang.String path)Deprecated. As of release 1.1, replaced bygetDuration(String, TimeUnit)
Get value as a duration in milliseconds. If the value is already a number, then it's left alone; if it's a string, it's parsed understanding units suffixes like "10m" or "5ns" as documented in the the + href="https://github.com/lightbend/config/blob/master/HOCON.md">the spec.
- Parameters:
@@ -1450,7 +1450,7 @@ java.lang.LonggetNanoseconds
@Deprecated -java.lang.Long getNanoseconds(java.lang.String path)+java.lang.Long getNanoseconds(java.lang.String path)Deprecated. As of release 1.1, replaced bygetDuration(String, TimeUnit)
Get value as a duration in nanoseconds. If the value is already a number it's taken as milliseconds and converted to nanoseconds. If it's a @@ -1474,14 +1474,14 @@ java.lang.LonggetDuration
-long getDuration(java.lang.String path, +long getDuration(java.lang.String path, java.util.concurrent.TimeUnit unit)Gets a value as a duration in a specifiedTimeUnit
. If the value is already a number, then it's taken as milliseconds and then converted to the requested TimeUnit; if it's a string, it's parsed understanding units suffixes like "10m" or "5ns" as documented in the the + href="https://github.com/lightbend/config/blob/master/HOCON.md">the spec.
- Parameters:
@@ -1504,12 +1504,12 @@ java.lang.LonggetDuration
-java.time.Duration getDuration(java.lang.String path)+java.time.Duration getDuration(java.lang.String path)Gets a value as a java.time.Duration. If the value is already a number, then it's taken as milliseconds; if it's a string, it's parsed understanding units suffixes like "10m" or "5ns" as documented in the the + href="https://github.com/lightbend/config/blob/master/HOCON.md">the spec. This method never returns null.
- Parameters:
@@ -1531,12 +1531,12 @@ java.lang.LonggetPeriod
-java.time.Period getPeriod(java.lang.String path)+java.time.Period getPeriod(java.lang.String path)Gets a value as a java.time.Period. If the value is already a number, then it's taken as days; if it's a string, it's parsed understanding units suffixes like "10d" or "5w" as documented in the the + href="https://github.com/lightbend/config/blob/master/HOCON.md">the spec. This method never returns null.
- Parameters:
@@ -1558,7 +1558,7 @@ java.lang.LonggetTemporal
-java.time.temporal.TemporalAmount getTemporal(java.lang.String path)+java.time.temporal.TemporalAmount getTemporal(java.lang.String path)Gets a value as a java.time.temporal.TemporalAmount. This method will first try get get the value as a java.time.Duration, and if unsuccessful, then as a java.time.Period. @@ -1581,7 +1581,7 @@ java.lang.LonggetList
-getList(java.lang.String path)+getList(java.lang.String path)Gets a list value (with any element type) as a@@ -1602,7 +1602,7 @@ java.lang.LongConfigList
, which implementsjava.util.List<ConfigValue>
. Throws if the path is unset or null.getBooleanList
-java.util.List<java.lang.Boolean> getBooleanList(java.lang.String path)+java.util.List<java.lang.Boolean> getBooleanList(java.lang.String path)Gets a list value with boolean elements. Throws if the path is unset or null or not a list or contains values not convertible to boolean.@@ -1623,7 +1623,7 @@ java.lang.LonggetNumberList
-java.util.List<java.lang.Number> getNumberList(java.lang.String path)+java.util.List<java.lang.Number> getNumberList(java.lang.String path)Gets a list value with number elements. Throws if the path is unset or null or not a list or contains values not convertible to number.@@ -1644,7 +1644,7 @@ java.lang.LonggetIntList
-java.util.List<java.lang.Integer> getIntList(java.lang.String path)+java.util.List<java.lang.Integer> getIntList(java.lang.String path)Gets a list value with int elements. Throws if the path is unset or null or not a list or contains values not convertible to int.@@ -1665,7 +1665,7 @@ java.lang.LonggetLongList
-java.util.List<java.lang.Long> getLongList(java.lang.String path)+java.util.List<java.lang.Long> getLongList(java.lang.String path)Gets a list value with long elements. Throws if the path is unset or null or not a list or contains values not convertible to long.@@ -1686,7 +1686,7 @@ java.lang.LonggetDoubleList
-java.util.List<java.lang.Double> getDoubleList(java.lang.String path)+java.util.List<java.lang.Double> getDoubleList(java.lang.String path)Gets a list value with double elements. Throws if the path is unset or null or not a list or contains values not convertible to double.@@ -1707,7 +1707,7 @@ java.lang.LonggetStringList
-java.util.List<java.lang.String> getStringList(java.lang.String path)+java.util.List<java.lang.String> getStringList(java.lang.String path)Gets a list value with string elements. Throws if the path is unset or null or not a list or contains values not convertible to string.@@ -1728,7 +1728,7 @@ java.lang.LonggetEnumList
-<T extends java.lang.Enum<T>> java.util.List<T> getEnumList(java.lang.Class<T> enumClass, +<T extends java.lang.Enum<T>> java.util.List<T> getEnumList(java.lang.Class<T> enumClass, java.lang.String path)Gets a list value withEnum
elements. Throws if the path is unset or null or not a list or contains values not @@ -1753,7 +1753,7 @@ java.lang.LonggetObjectList
-java.util.List<? extends getObjectList(java.lang.String path)+java.util.List<? extends getObjectList(java.lang.String path)Gets a list value with object elements. Throws if the path is unset or null or not a list or contains values not convertible to@@ -1774,7 +1774,7 @@ java.lang.LongConfigObject
.getConfigList
-java.util.List<? extends getConfigList(java.lang.String path)+java.util.List<? extends getConfigList(java.lang.String path)Gets a list value with@@ -1795,7 +1795,7 @@ java.lang.LongConfig
elements. Throws if the path is unset or null or not a list or contains values not convertible toConfig
.getAnyRefList
-java.util.List<? extends java.lang.Object> getAnyRefList(java.lang.String path)+java.util.List<? extends java.lang.Object> getAnyRefList(java.lang.String path)Gets a list value with any kind of elements. Throws if the path is unset or null or not a list. Each element is "unwrapped" (see@@ -1816,7 +1816,7 @@ java.lang.LongConfigValue.unwrapped()
).getBytesList
-java.util.List<java.lang.Long> getBytesList(java.lang.String path)+java.util.List<java.lang.Long> getBytesList(java.lang.String path)Gets a list value with elements representing a size in bytes. Throws if the path is unset or null or not a list or contains values not convertible to memory sizes.@@ -1837,7 +1837,7 @@ java.lang.LonggetMemorySizeList
-java.util.List<getMemorySizeList(java.lang.String path)+java.util.List<getMemorySizeList(java.lang.String path)Gets a list, converting each value in the list to a memory size, using the same rules asgetMemorySize(String)
.@@ -1860,7 +1860,7 @@ java.lang.Long
getMillisecondsList
@Deprecated -java.util.List<java.lang.Long> getMillisecondsList(java.lang.String path)+java.util.List<java.lang.Long> getMillisecondsList(java.lang.String path)Deprecated. As of release 1.1, replaced bygetDurationList(String, TimeUnit)
- Parameters:
@@ -1877,7 +1877,7 @@ java.util.List<java.lang.Long>getNanosecondsList
@Deprecated -java.util.List<java.lang.Long> getNanosecondsList(java.lang.String path)+java.util.List<java.lang.Long> getNanosecondsList(java.lang.String path)Deprecated. As of release 1.1, replaced bygetDurationList(String, TimeUnit)
- Parameters:
@@ -1893,7 +1893,7 @@ java.util.List<java.lang.Long>getDurationList
-java.util.List<java.lang.Long> getDurationList(java.lang.String path, +java.util.List<java.lang.Long> getDurationList(java.lang.String path, java.util.concurrent.TimeUnit unit)Gets a list, converting each value in the list to a duration, using the same rules as@@ -1914,7 +1914,7 @@ java.util.List<java.lang.Long>getDuration(String, TimeUnit)
.getDurationList
-java.util.List<java.time.Duration> getDurationList(java.lang.String path)+java.util.List<java.time.Duration> getDurationList(java.lang.String path)Gets a list, converting each value in the list to a duration, using the same rules asgetDuration(String)
.@@ -1933,7 +1933,7 @@ java.util.List<java.lang.Long>
withOnlyPath
-withOnlyPath(java.lang.String path)+withOnlyPath(java.lang.String path)Clone the config with only the given path (and its children) retained; all sibling paths are removed.@@ -1953,7 +1953,7 @@ java.util.List<java.lang.Long>
withoutPath
-withoutPath(java.lang.String path)+withoutPath(java.lang.String path)Clone the config with the given path removed.Note that path expressions have a syntax and sometimes require quoting @@ -1972,7 +1972,7 @@ java.util.List<java.lang.Long>
atPath
-atPath(java.lang.String path)+atPath(java.lang.String path)Places the config inside anotherConfig
at the given path.Note that path expressions have a syntax and sometimes require quoting @@ -1992,7 +1992,7 @@ java.util.List<java.lang.Long>
atKey
-atKey(java.lang.String key)+atKey(java.lang.String key)Places the config inside a@@ -2011,7 +2011,7 @@ java.util.List<java.lang.Long>Config
at the given key. See also atPath(). Note that a key is NOT a path expression (seeConfigUtil.joinPath(java.lang.String...)
andConfigUtil.splitPath(java.lang.String)
).withValue
-withValue(java.lang.String path, +withValue(java.lang.String path, ConfigValue value)Returns aConfig
based on this one, but with the given path set to the given value. Does not modify this instance (since it's immutable). diff --git a/latest/api/com/typesafe/config/ConfigBeanFactory.html b/latest/api/com/typesafe/config/ConfigBeanFactory.html index 9582006f..f107c530 100644 --- a/latest/api/com/typesafe/config/ConfigBeanFactory.html +++ b/latest/api/com/typesafe/config/ConfigBeanFactory.html @@ -2,9 +2,9 @@ - +ConfigBeanFactory - + @@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";- @@ -203,7 +203,7 @@ extends java.lang.Object
-public class ConfigBeanFactory +public class ConfigBeanFactory extends java.lang.ObjectFactory for automatically creating a Java class from a@@ -186,7 +186,7 @@ extends java.lang.ObjectConfig
. Seecreate(Config,Class)
.
ConfigBeanFactory
-public ConfigBeanFactory()+public ConfigBeanFactory()
create
-public static <T> T create(Config config, +public static <T> T create(Config config, java.lang.Class<T> clazz)Creates an instance of a class, initializing its fields from aConfig
. diff --git a/latest/api/com/typesafe/config/ConfigException.BadBean.html b/latest/api/com/typesafe/config/ConfigException.BadBean.html index e38fe2b2..2f07e502 100644 --- a/latest/api/com/typesafe/config/ConfigException.BadBean.html +++ b/latest/api/com/typesafe/config/ConfigException.BadBean.html @@ -2,9 +2,9 @@ - +ConfigException.BadBean - + @@ -135,7 +135,7 @@
-public static class ConfigException.BadBean +public static class ConfigException.BadBean extends ConfigException.BugOrBrokenSome problem with a JavaBean we are trying to initialize.@@ -233,7 +233,7 @@ extends
- @@ -243,7 +243,7 @@ extends
BadBean
-public BadBean(java.lang.String message, +public BadBean(java.lang.String message, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.BadPath.html b/latest/api/com/typesafe/config/ConfigException.BadPath.html index ab172230..bdf43b85 100644 --- a/latest/api/com/typesafe/config/ConfigException.BadPath.html +++ b/latest/api/com/typesafe/config/ConfigException.BadPath.html @@ -2,9 +2,9 @@ - +
BadBean
-public BadBean(java.lang.String message)+public BadBean(java.lang.String message)ConfigException.BadPath - + @@ -130,7 +130,7 @@
-public static class ConfigException.BadPath +public static class ConfigException.BadPath extends ConfigExceptionException indicating that a path expression was invalid. Try putting double quotes around path elements that contain "special" characters.@@ -244,7 +244,7 @@ extendsBadPath
-public BadPath(ConfigOrigin origin, +public BadPath(ConfigOrigin origin, java.lang.String path, java.lang.String message, java.lang.Throwable cause)@@ -256,7 +256,7 @@ extends- @@ -267,7 +267,7 @@ extends
BadPath
-public BadPath(ConfigOrigin origin, +public BadPath(ConfigOrigin origin, java.lang.String path, java.lang.String message)- @@ -278,7 +278,7 @@ extends
BadPath
-public BadPath(java.lang.String path, +public BadPath(java.lang.String path, java.lang.String message, java.lang.Throwable cause)- @@ -288,7 +288,7 @@ extends
BadPath
-public BadPath(java.lang.String path, +public BadPath(java.lang.String path, java.lang.String message)- diff --git a/latest/api/com/typesafe/config/ConfigException.BadValue.html b/latest/api/com/typesafe/config/ConfigException.BadValue.html index 7df4f6bf..4c159ec6 100644 --- a/latest/api/com/typesafe/config/ConfigException.BadValue.html +++ b/latest/api/com/typesafe/config/ConfigException.BadValue.html @@ -2,9 +2,9 @@ - +
BadPath
-public BadPath(ConfigOrigin origin, +public BadPath(ConfigOrigin origin, java.lang.String message)ConfigException.BadValue - + @@ -130,7 +130,7 @@
-public static class ConfigException.BadValue +public static class ConfigException.BadValue extends ConfigExceptionException indicating that a value was messed up, for example you may have asked for a duration and the value can't be sensibly parsed as a @@ -241,7 +241,7 @@ extendsBadValue
-public BadValue(ConfigOrigin origin, +public BadValue(ConfigOrigin origin, java.lang.String path, java.lang.String message, java.lang.Throwable cause)@@ -253,7 +253,7 @@ extends- @@ -264,7 +264,7 @@ extends
BadValue
-public BadValue(ConfigOrigin origin, +public BadValue(ConfigOrigin origin, java.lang.String path, java.lang.String message)- @@ -275,7 +275,7 @@ extends
BadValue
-public BadValue(java.lang.String path, +public BadValue(java.lang.String path, java.lang.String message, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.BugOrBroken.html b/latest/api/com/typesafe/config/ConfigException.BugOrBroken.html index 9317ce9f..7dfcb98d 100644 --- a/latest/api/com/typesafe/config/ConfigException.BugOrBroken.html +++ b/latest/api/com/typesafe/config/ConfigException.BugOrBroken.html @@ -2,9 +2,9 @@ - +
BadValue
-public BadValue(java.lang.String path, +public BadValue(java.lang.String path, java.lang.String message)ConfigException.BugOrBroken - + @@ -134,7 +134,7 @@
-public static class ConfigException.BugOrBroken +public static class ConfigException.BugOrBroken extends ConfigExceptionException indicating that there's a bug in something (possibly the library itself) or the runtime environment is broken. This exception @@ -234,7 +234,7 @@ extends- @@ -244,7 +244,7 @@ extends
BugOrBroken
-public BugOrBroken(java.lang.String message, +public BugOrBroken(java.lang.String message, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.Generic.html b/latest/api/com/typesafe/config/ConfigException.Generic.html index b0fa43e3..74494080 100644 --- a/latest/api/com/typesafe/config/ConfigException.Generic.html +++ b/latest/api/com/typesafe/config/ConfigException.Generic.html @@ -2,9 +2,9 @@ - +
BugOrBroken
-public BugOrBroken(java.lang.String message)+public BugOrBroken(java.lang.String message)ConfigException.Generic - + @@ -130,7 +130,7 @@
-public static class ConfigException.Generic +public static class ConfigException.Generic extends ConfigExceptionException that doesn't fall into any other category.@@ -226,7 +226,7 @@ extends
- @@ -236,7 +236,7 @@ extends
Generic
-public Generic(java.lang.String message, +public Generic(java.lang.String message, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.IO.html b/latest/api/com/typesafe/config/ConfigException.IO.html index 8def3196..cf62b695 100644 --- a/latest/api/com/typesafe/config/ConfigException.IO.html +++ b/latest/api/com/typesafe/config/ConfigException.IO.html @@ -2,9 +2,9 @@ - +
Generic
-public Generic(java.lang.String message)+public Generic(java.lang.String message)ConfigException.IO - + @@ -130,7 +130,7 @@
-public static class ConfigException.IO +public static class ConfigException.IO extends ConfigExceptionException indicating that there was an IO error.@@ -228,7 +228,7 @@ extends
- @@ -239,7 +239,7 @@ extends
IO
-public IO(ConfigOrigin origin, +public IO(ConfigOrigin origin, java.lang.String message, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.Missing.html b/latest/api/com/typesafe/config/ConfigException.Missing.html index 94f0cd48..9ee7c8e9 100644 --- a/latest/api/com/typesafe/config/ConfigException.Missing.html +++ b/latest/api/com/typesafe/config/ConfigException.Missing.html @@ -2,9 +2,9 @@ - +
IO
-public IO(ConfigOrigin origin, +public IO(ConfigOrigin origin, java.lang.String message)ConfigException.Missing - + @@ -134,7 +134,7 @@
-public static class ConfigException.Missing +public static class ConfigException.Missing extends ConfigExceptionException indicates that the setting was never set to anything, not even null.@@ -245,7 +245,7 @@ extends- @@ -255,7 +255,7 @@ extends
Missing
-public Missing(java.lang.String path, +public Missing(java.lang.String path, java.lang.Throwable cause)- @@ -264,7 +264,7 @@ extends
Missing
-public Missing(java.lang.String path)+public Missing(java.lang.String path)- @@ -275,7 +275,7 @@ extends
Missing
-protected Missing(ConfigOrigin origin, +protected Missing(ConfigOrigin origin, java.lang.String message, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.NotResolved.html b/latest/api/com/typesafe/config/ConfigException.NotResolved.html index ecf3f60d..7ab72019 100644 --- a/latest/api/com/typesafe/config/ConfigException.NotResolved.html +++ b/latest/api/com/typesafe/config/ConfigException.NotResolved.html @@ -2,9 +2,9 @@ - +
Missing
-protected Missing(ConfigOrigin origin, +protected Missing(ConfigOrigin origin, java.lang.String message)ConfigException.NotResolved - + @@ -135,7 +135,7 @@
-public static class ConfigException.NotResolved +public static class ConfigException.NotResolved extends ConfigException.BugOrBrokenException indicating that you tried to use a function that requires substitutions to be resolved, but substitutions have not been resolved @@ -236,7 +236,7 @@ extends- @@ -246,7 +246,7 @@ extends
NotResolved
-public NotResolved(java.lang.String message, +public NotResolved(java.lang.String message, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.Null.html b/latest/api/com/typesafe/config/ConfigException.Null.html index 96e965f7..045f8330 100644 --- a/latest/api/com/typesafe/config/ConfigException.Null.html +++ b/latest/api/com/typesafe/config/ConfigException.Null.html @@ -2,9 +2,9 @@ - +
NotResolved
-public NotResolved(java.lang.String message)+public NotResolved(java.lang.String message)ConfigException.Null - + @@ -135,7 +135,7 @@
-public static class ConfigException.Null +public static class ConfigException.Null extends ConfigException.MissingException indicates that the setting was treated as missing because it was set to null.@@ -236,7 +236,7 @@ extendsNull
-public Null(ConfigOrigin origin, +public Null(ConfigOrigin origin, java.lang.String path, java.lang.String expected, java.lang.Throwable cause)@@ -248,7 +248,7 @@ extends- diff --git a/latest/api/com/typesafe/config/ConfigException.Parse.html b/latest/api/com/typesafe/config/ConfigException.Parse.html index aeb9dd38..f8169770 100644 --- a/latest/api/com/typesafe/config/ConfigException.Parse.html +++ b/latest/api/com/typesafe/config/ConfigException.Parse.html @@ -2,9 +2,9 @@ - +
Null
-public Null(ConfigOrigin origin, +public Null(ConfigOrigin origin, java.lang.String path, java.lang.String expected)ConfigException.Parse - + @@ -134,7 +134,7 @@
-public static class ConfigException.Parse +public static class ConfigException.Parse extends ConfigExceptionException indicating that there was a parse error.@@ -232,7 +232,7 @@ extends
- @@ -243,7 +243,7 @@ extends
Parse
-public Parse(ConfigOrigin origin, +public Parse(ConfigOrigin origin, java.lang.String message, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.UnresolvedSubstitution.html b/latest/api/com/typesafe/config/ConfigException.UnresolvedSubstitution.html index 4f72e43b..debf5540 100644 --- a/latest/api/com/typesafe/config/ConfigException.UnresolvedSubstitution.html +++ b/latest/api/com/typesafe/config/ConfigException.UnresolvedSubstitution.html @@ -2,9 +2,9 @@ - +
Parse
-public Parse(ConfigOrigin origin, +public Parse(ConfigOrigin origin, java.lang.String message)ConfigException.UnresolvedSubstitution - + @@ -135,7 +135,7 @@
-public static class ConfigException.UnresolvedSubstitution +public static class ConfigException.UnresolvedSubstitution extends ConfigException.ParseException indicating that a substitution did not resolve to anything. Thrown by@@ -234,7 +234,7 @@ extendsConfig.resolve()
.- @@ -245,7 +245,7 @@ extends
UnresolvedSubstitution
-public UnresolvedSubstitution(ConfigOrigin origin, +public UnresolvedSubstitution(ConfigOrigin origin, java.lang.String detail, java.lang.Throwable cause)- diff --git a/latest/api/com/typesafe/config/ConfigException.ValidationFailed.html b/latest/api/com/typesafe/config/ConfigException.ValidationFailed.html index 2df76e7d..22f52c68 100644 --- a/latest/api/com/typesafe/config/ConfigException.ValidationFailed.html +++ b/latest/api/com/typesafe/config/ConfigException.ValidationFailed.html @@ -2,9 +2,9 @@ - +
UnresolvedSubstitution
-public UnresolvedSubstitution(ConfigOrigin origin, +public UnresolvedSubstitution(ConfigOrigin origin, java.lang.String detail)ConfigException.ValidationFailed - + @@ -136,7 +136,7 @@ var activeTableTab = "activeTableTab";
-public static class ConfigException.ValidationFailed +public static class ConfigException.ValidationFailed extends ConfigExceptionException indicating thatConfig.checkValid(com.typesafe.config.Config, java.lang.String...)
found validity problems. The problems are available via theproblems()
method. @@ -242,7 +242,7 @@ extends- @@ -259,7 +259,7 @@ extends
ValidationFailed
-public ValidationFailed(java.lang.Iterable<ConfigException.ValidationProblem> problems)+public ValidationFailed(java.lang.Iterable<ConfigException.ValidationProblem> problems)- diff --git a/latest/api/com/typesafe/config/ConfigException.ValidationProblem.html b/latest/api/com/typesafe/config/ConfigException.ValidationProblem.html index 54ba9d8c..8bbad028 100644 --- a/latest/api/com/typesafe/config/ConfigException.ValidationProblem.html +++ b/latest/api/com/typesafe/config/ConfigException.ValidationProblem.html @@ -2,9 +2,9 @@ - +
problems
-public java.lang.Iterable<problems()+public java.lang.Iterable<problems()ConfigException.ValidationProblem - + @@ -112,7 +112,7 @@ var activeTableTab = "activeTableTab";
-public static class ConfigException.ValidationProblem +public static class ConfigException.ValidationProblem extends java.lang.ObjectInformation about a problem that occurred inConfig.checkValid(com.typesafe.config.Config, java.lang.String...)
. AConfigException.ValidationFailed
exception thrown from @@ -205,7 +205,7 @@ extends java.lang.Object
- @@ -224,7 +224,7 @@ extends java.lang.Object
ValidationProblem
-public ValidationProblem(java.lang.String path, +public ValidationProblem(java.lang.String path, ConfigOrigin origin, java.lang.String problem)
path
-public java.lang.String path()+public java.lang.String path()Returns the config setting causing the problem.
- Returns:
@@ -238,7 +238,7 @@ extends java.lang.Object
origin
-public origin()+public origin()Returns where the problem occurred (origin may include info on the file, line number, etc.).@@ -253,7 +253,7 @@ extends java.lang.Object
problem
-public java.lang.String problem()+public java.lang.String problem()Returns a description of the problem.
- Returns:
@@ -267,7 +267,7 @@ extends java.lang.Objectdiff --git a/latest/api/com/typesafe/config/ConfigException.html b/latest/api/com/typesafe/config/ConfigException.html index 50abf6f6..74f126aa 100644 --- a/latest/api/com/typesafe/config/ConfigException.html +++ b/latest/api/com/typesafe/config/ConfigException.html @@ -2,9 +2,9 @@ - +
toString
-public java.lang.String toString()+public java.lang.String toString()
- Overrides:
- diff --git a/latest/api/com/typesafe/config/ConfigException.WrongType.html b/latest/api/com/typesafe/config/ConfigException.WrongType.html index 63f87ff6..cf613068 100644 --- a/latest/api/com/typesafe/config/ConfigException.WrongType.html +++ b/latest/api/com/typesafe/config/ConfigException.WrongType.html @@ -2,9 +2,9 @@ - +
toString
in classjava.lang.Object
ConfigException.WrongType - + @@ -130,7 +130,7 @@
-public static class ConfigException.WrongType +public static class ConfigException.WrongType extends ConfigExceptionException indicating that the type of a value does not match the type you requested.@@ -242,7 +242,7 @@ extendsWrongType
-public WrongType(ConfigOrigin origin, +public WrongType(ConfigOrigin origin, java.lang.String path, java.lang.String expected, java.lang.String actual, @@ -255,7 +255,7 @@ extendsWrongType
-public WrongType(ConfigOrigin origin, +public WrongType(ConfigOrigin origin, java.lang.String path, java.lang.String expected, java.lang.String actual)@@ -267,7 +267,7 @@ extends- @@ -278,7 +278,7 @@ extends
WrongType
-public WrongType(ConfigOrigin origin, +public WrongType(ConfigOrigin origin, java.lang.String message, java.lang.Throwable cause)WrongType
-public WrongType(ConfigOrigin origin, +public WrongType(ConfigOrigin origin, java.lang.String message)ConfigException - + @@ -131,7 +131,7 @@ var activeTableTab = "activeTableTab";
-public abstract class ConfigException +public abstract class ConfigException extends java.lang.RuntimeException implements java.io.SerializableAll exceptions thrown by the library are subclasses of @@ -343,7 +343,7 @@ implements java.io.Serializable
- @@ -354,7 +354,7 @@ implements java.io.Serializable
ConfigException
-protected ConfigException(ConfigOrigin origin, +protected ConfigException(ConfigOrigin origin, java.lang.String message, java.lang.Throwable cause)@@ -364,7 +364,7 @@ implements java.io.Serializable
ConfigException
-protected ConfigException(ConfigOrigin origin, +protected ConfigException(ConfigOrigin origin, java.lang.String message)@@ -374,7 +374,7 @@ implements java.io.Serializable
ConfigException
-protected ConfigException(java.lang.String message, +protected ConfigException(java.lang.String message, java.lang.Throwable cause)@@ -391,7 +391,7 @@ implements java.io.Serializable
ConfigException
-protected ConfigException(java.lang.String message)+protected ConfigException(java.lang.String message)
origin
-public origin()+public origin()Returns an "origin" (such as a filename and line number) for the exception, or null if none is available. If there's no sensible origin for a given exception, or the kind of exception doesn't meaningfully diff --git a/latest/api/com/typesafe/config/ConfigFactory.html b/latest/api/com/typesafe/config/ConfigFactory.html index e42ddae9..58b86638 100644 --- a/latest/api/com/typesafe/config/ConfigFactory.html +++ b/latest/api/com/typesafe/config/ConfigFactory.html @@ -2,9 +2,9 @@ - +ConfigFactory - + @@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";
-public final class ConfigFactory +public final class ConfigFactory extends java.lang.ObjectContains static methods for creatingConfig
instances. @@ -124,7 +124,7 @@ extends java.lang.Object from a resource and nothing else.You can find an example app and library on + href="https://github.com/lightbend/config/tree/master/examples">on GitHub. Also be sure to read the package overview which describes the big picture as shown in those @@ -398,7 +398,7 @@ extends java.lang.Object ConfigParseOptions options)
Converts a Java@@ -586,7 +586,7 @@ extends java.lang.ObjectProperties
object to aConfigObject
using the rules documented in the HOCON + href="https://github.com/lightbend/config/blob/master/HOCON.md">HOCON spec.
load
-public static load(java.lang.String resourceBasename)+public static load(java.lang.String resourceBasename)Loads an application's configuration from the given classpath resource or classpath resource basename, sandwiches it between default reference config and default overrides, and then resolves it. The classpath @@ -626,7 +626,7 @@ extends java.lang.Object
load
-public static load(java.lang.ClassLoader loader, +public static load(java.lang.ClassLoader loader, java.lang.String resourceBasename)Likeload(String)
but uses the supplied class loader instead of the current thread's context class loader. @@ -652,7 +652,7 @@ extends java.lang.Object
load
-public static load(java.lang.String resourceBasename, +public static load(java.lang.String resourceBasename, ConfigParseOptions parseOptions, ConfigResolveOptions resolveOptions)Likeload(String)
but allows you to specify parse and resolve @@ -673,7 +673,7 @@ extends java.lang.Object
load
-public static load(java.lang.ClassLoader loader, +public static load(java.lang.ClassLoader loader, java.lang.String resourceBasename, ConfigParseOptions parseOptions, ConfigResolveOptions resolveOptions)@@ -699,7 +699,7 @@ extends java.lang.Object
load
-public static load(Config config)+public static load(Config config)Assembles a standard configuration using a customConfig
object rather than loading "application.conf". TheConfig
object will be sandwiched between the default reference config and @@ -718,7 +718,7 @@ extends java.lang.Object
load
-public static load(java.lang.ClassLoader loader, +public static load(java.lang.ClassLoader loader, Config config)Like@@ -737,7 +737,7 @@ extends java.lang.Objectload(Config)
but allows you to specify the class loader for looking up resources.
load
-public static load(Config config, +public static load(Config config, ConfigResolveOptions resolveOptions)Like@@ -756,7 +756,7 @@ extends java.lang.Objectload(Config)
but allows you to specifyConfigResolveOptions
.
load
-public static load(java.lang.ClassLoader loader, +public static load(java.lang.ClassLoader loader, Config config, ConfigResolveOptions resolveOptions)Likeload(Config,ConfigResolveOptions)
but allows you to specify @@ -778,7 +778,7 @@ extends java.lang.Object
load
-public static load()+public static load()Loads a default configuration, equivalent toload(defaultApplication())
in most cases. This configuration should be used by libraries and frameworks unless an application provides a different one.@@ -797,7 +797,7 @@ extends java.lang.Object
load
-public static load(ConfigParseOptions parseOptions)+public static load(ConfigParseOptions parseOptions)Likeload()
but allows specifying parse options.
- Parameters:
@@ -813,7 +813,7 @@ extends java.lang.Object
load
-public static load(java.lang.ClassLoader loader)+public static load(java.lang.ClassLoader loader)Likeload()
but allows specifying a class loader other than the thread's current context class loader.@@ -830,7 +830,7 @@ extends java.lang.Object
load
-public static load(java.lang.ClassLoader loader, +public static load(java.lang.ClassLoader loader, ConfigParseOptions parseOptions)Like@@ -849,7 +849,7 @@ extends java.lang.Objectload()
but allows specifying a class loader other than the thread's current context class loader and also specify parse options.
load
-public static load(java.lang.ClassLoader loader, +public static load(java.lang.ClassLoader loader, ConfigResolveOptions resolveOptions)Like@@ -868,7 +868,7 @@ extends java.lang.Objectload()
but allows specifying a class loader other than the thread's current context class loader and also specify resolve options.
load
-public static load(java.lang.ClassLoader loader, +public static load(java.lang.ClassLoader loader, ConfigParseOptions parseOptions, ConfigResolveOptions resolveOptions)Likeload()
but allows specifying a class loader other than the @@ -889,7 +889,7 @@ extends java.lang.Object
load
-public static load(ConfigParseOptions parseOptions, +public static load(ConfigParseOptions parseOptions, ConfigResolveOptions resolveOptions)Like@@ -910,7 +910,7 @@ extends java.lang.Objectload()
but allows specifying parse options and resolve options.
defaultReference
-public static defaultReference()+public static defaultReference()Obtains the default reference configuration, which is currently created by merging all resources "reference.conf" found on the classpath and overriding the result with system properties. The returned reference @@ -947,7 +947,7 @@ extends java.lang.Object
defaultReference
-public static defaultReference(java.lang.ClassLoader loader)+public static defaultReference(java.lang.ClassLoader loader)LikedefaultReference()
but allows you to specify a class loader to use rather than the current context class loader.@@ -964,7 +964,7 @@ extends java.lang.Object