public class ConfigLoader extends Object
| 构造器和说明 |
|---|
ConfigLoader() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Properties |
loadProperties(InputStream is) |
static Properties |
loadProperties(String fileName)
读取properties配置文件
|
public static Properties loadProperties(String fileName) throws IOException
fileName - 配置文件名称IOExceptionpublic static Properties loadProperties(InputStream is) throws IOException
IOExceptionCopyright © 2021. All rights reserved.