Top Inners Fields Constructors Methods
com.mchange.v3.hocon

public final Class HoconUtils

extends Object
Class Inheritance
Imports
java.util.*, com.mchange.v2.cfg.*, com.typesafe.config.*, java.io.File, java.net.URL, .MalformedURLException

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Config
applicationOrStandardSubstitute(ClassLoader cl)

For when you don't want all the extras of ConfigFactory.load() [ backing up to reference.conf, System property overrides, etc. ]

public static HoconUtils.ConfigWithFallbackMessage
public static HoconUtils.PropertiesConversion
private static String
public static HoconUtils.WarnedConfig
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

APPLICATIONback to summary
private static final String APPLICATION

Constructor Detail

HoconUtilsback to summary
private HoconUtils()

Method Detail

applicationOrStandardSubstituteback to summary
public static Config applicationOrStandardSubstitute(ClassLoader cl) throws SubstituteNotAvailableException

For when you don't want all the extras of ConfigFactory.load() [ backing up to reference.conf, System property overrides, etc. ]

applicationOrStandardSubstituteFallbackWithMessageback to summary
public static HoconUtils.ConfigWithFallbackMessage applicationOrStandardSubstituteFallbackWithMessage(ClassLoader cl) throws SubstituteNotAvailableException
configToPropertiesback to summary
public static HoconUtils.PropertiesConversion configToProperties(Config config)
createSpecifiedSourceWarningback to summary
private static String createSpecifiedSourceWarning(File customFile, Properties sysprops)
customFileOrSpecifiedSourceWinsback to summary
public static HoconUtils.WarnedConfig customFileOrSpecifiedSourceWins(File customFile)
com.mchange.v3.hocon back to summary

public Class HoconUtils.ConfigWithFallbackMessage

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private Config
private String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Config
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_configback to summary
private Config _config
_messageback to summary
private String _message

Constructor Detail

ConfigWithFallbackMessageback to summary
private ConfigWithFallbackMessage(Config config, String message)

Method Detail

configback to summary
public Config config()
messageback to summary
public String message()
com.mchange.v3.hocon back to summary

public Class HoconUtils.PropertiesConversion

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv Properties
pack-priv Set<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

propertiesback to summary
pack-priv Properties properties
unrenderableback to summary
pack-priv Set<String> unrenderable

Constructor Detail

PropertiesConversionback to summary
public PropertiesConversion()
com.mchange.v3.hocon back to summary

public Class HoconUtils.SubstituteNotAvailableException

extends Exception
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Constructor Detail

SubstituteNotAvailableExceptionback to summary
pack-priv SubstituteNotAvailableException(String msg)
com.mchange.v3.hocon back to summary

public Class HoconUtils.WarnedConfig

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public Config
public List<String>

Constructor Summary

AccessConstructor and Description
pack-priv
WarnedConfig(Config config, List<String> warnings)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

configback to summary
public Config config
warningsback to summary
public List<String> warnings

Constructor Detail

WarnedConfigback to summary
pack-priv WarnedConfig(Config config, List<String> warnings)