类 ConfigLoader
- java.lang.Object
-
- network.nerve.core.parse.ConfigLoader
-
public class ConfigLoader extends Object
- 作者:
- Eva
-
-
构造器概要
构造器 构造器 说明 ConfigLoader()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static PropertiesloadProperties(InputStream is)static PropertiesloadProperties(String fileName)读取properties配置文件
-
-
-
方法详细资料
-
loadProperties
public static Properties loadProperties(String fileName) throws IOException
读取properties配置文件- 参数:
fileName- 配置文件名称- 返回:
- properties配置文件类
- 抛出:
IOException
-
loadProperties
public static Properties loadProperties(InputStream is) throws IOException
- 抛出:
IOException
-
-