public class RefreshConfig extends Object
| 构造器和说明 |
|---|
RefreshConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
exists(String key) |
static <T> T |
getBean(String key,
Class<T> beanClass) |
static <T> List<T> |
getBeans(String key,
Class<T> beanClass) |
static boolean |
getBool(String key) |
static boolean |
getBool(String key,
boolean defaultValue) |
static double |
getDouble(String key) |
static double |
getDouble(String key,
double defaultValue) |
static float |
getFloat(String key) |
static float |
getFloat(String key,
float defaultValue) |
static int |
getInt(String key) |
static int |
getInt(String key,
int defaultValue) |
static long |
getLong(String key) |
static long |
getLong(String key,
long defaultValue) |
static String |
getStr(String key) |
static String |
getStr(String key,
String defaultValue) |
static long |
refreshConfigSet(String prefix) |
static Configable |
subset(String prefix) |
public static boolean exists(String key)
public static int getInt(String key)
public static long getLong(String key)
public static boolean getBool(String key)
public static float getFloat(String key)
public static double getDouble(String key)
public static int getInt(String key, int defaultValue)
public static long getLong(String key, long defaultValue)
public static boolean getBool(String key, boolean defaultValue)
public static float getFloat(String key, float defaultValue)
public static double getDouble(String key, double defaultValue)
public static Configable subset(String prefix)
public static long refreshConfigSet(String prefix)
Copyright © 2018. All rights reserved.