Package org.jacoco.agent.rt.internal
Class ConfigLoader
java.lang.Object
org.jacoco.agent.rt.internal.ConfigLoader
Internal utility to load runtime configuration from a classpath resource and
from system properties. System property keys are prefixed with
jacoco.
. If the same property is defined twice the system
property takes precedence.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static Properties
load
(String resource, Properties system) private static void
loadResource
(String resource, Properties result) private static void
loadSystemProperties
(Properties system, Properties result) private static void
substSystemProperties
(Properties result, Properties system)
-
Field Details
-
SYS_PREFIX
- See Also:
-
SUBST_PATTERN
-
-
Constructor Details
-
ConfigLoader
private ConfigLoader()
-
-
Method Details
-
load
-
loadResource
-
loadSystemProperties
-
substSystemProperties
-