public class PropsLoader extends Object
Utils.loadProperties(URL)| 构造器和说明 |
|---|
PropsLoader() |
| 限定符和类型 | 方法和说明 |
|---|---|
Properties |
build(String txt)
构建 txt 配置
|
static PropsLoader |
global() |
static void |
globalSet(PropsLoader instance) |
boolean |
isSupport(String suffix)
是否支持
|
Properties |
load(URL url)
加载 url 配置
|
public static PropsLoader global()
public static void globalSet(PropsLoader instance)
public boolean isSupport(String suffix)
suffix - 文件后缀public Properties load(URL url) throws Exception
Exceptionpublic Properties build(String txt) throws Exception
ExceptionCopyright © 2020. All rights reserved.