public class DtmProperties extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private static Properties |
dtmProperties |
| 构造器和说明 |
|---|
DtmProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
get(String key) |
static Properties |
getNacosProperties() |
static String |
getOrDefault(String key,
String defaultValue) |
private static void |
loadNacosProperties() |
private static Properties dtmProperties
private static void loadNacosProperties()
throws IOException
IOExceptionpublic static String get(String key) throws IOException
IOExceptionpublic static String getOrDefault(String key, String defaultValue) throws IOException
IOExceptionpublic static Properties getNacosProperties() throws IOException
IOExceptionCopyright © 2022. All rights reserved.