Package com.mchange.v3.hocon
Class HoconUtils
- java.lang.Object
-
- com.mchange.v3.hocon.HoconUtils
-
public final class HoconUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HoconUtils.ConfigWithFallbackMessage
static class
HoconUtils.PropertiesConversion
static class
HoconUtils.SubstituteNotAvailableException
static class
HoconUtils.WarnedConfig
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.typesafe.config.Config
applicationOrStandardSubstitute(java.lang.ClassLoader cl)
For when you don't want all the extras of ConfigFactory.load() [ backing up to reference.conf, System property overrides, etc.static HoconUtils.ConfigWithFallbackMessage
applicationOrStandardSubstituteFallbackWithMessage(java.lang.ClassLoader cl)
static HoconUtils.PropertiesConversion
configToProperties(com.typesafe.config.Config config)
static HoconUtils.WarnedConfig
customFileOrSpecifiedSourceWins(java.io.File customFile)
-
-
-
Method Detail
-
configToProperties
public static HoconUtils.PropertiesConversion configToProperties(com.typesafe.config.Config config)
-
applicationOrStandardSubstitute
public static com.typesafe.config.Config applicationOrStandardSubstitute(java.lang.ClassLoader cl) throws HoconUtils.SubstituteNotAvailableException
For when you don't want all the extras of ConfigFactory.load() [ backing up to reference.conf, System property overrides, etc. ]
-
applicationOrStandardSubstituteFallbackWithMessage
public static HoconUtils.ConfigWithFallbackMessage applicationOrStandardSubstituteFallbackWithMessage(java.lang.ClassLoader cl) throws HoconUtils.SubstituteNotAvailableException
-
customFileOrSpecifiedSourceWins
public static HoconUtils.WarnedConfig customFileOrSpecifiedSourceWins(java.io.File customFile)
-
-