public final class ConfigUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ENV_PROPERTIES_PREFIX |
| Constructor and Description |
|---|
ConfigUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getConfigDirPath(java.lang.Class clazz) |
protected static java.util.Optional<java.nio.charset.Charset> |
getConfigurationFileEncoding()
Get character set configured by system property
CONFIG_FILE_ENCODING_PROP. |
static PlatformConfig |
getPlatformConfig(java.lang.Class clazz) |
static SystemConfig |
getSystemConfig(java.lang.String platformHome) |
static java.util.Collection<java.lang.String> |
loadInstalledTenantIDsFromConfig(PlatformConfig platformConfig) |
static void |
loadLog4JProperties(java.util.Properties props,
java.lang.Class clazz) |
static void |
loadRuntimeProperties(java.util.Properties props,
PlatformConfig platformConfig) |
public static final java.lang.String ENV_PROPERTIES_PREFIX
public static SystemConfig getSystemConfig(java.lang.String platformHome)
public static java.util.Collection<java.lang.String> loadInstalledTenantIDsFromConfig(PlatformConfig platformConfig)
public static void loadRuntimeProperties(java.util.Properties props,
PlatformConfig platformConfig)
public static PlatformConfig getPlatformConfig(java.lang.Class clazz)
public static java.lang.String getConfigDirPath(java.lang.Class clazz)
public static void loadLog4JProperties(java.util.Properties props,
java.lang.Class clazz)
protected static java.util.Optional<java.nio.charset.Charset> getConfigurationFileEncoding()
CONFIG_FILE_ENCODING_PROP.Copyright © 2017 SAP SE. All Rights Reserved.