| 程序包 | 说明 |
|---|---|
| cn.com.fishin.tuz.loader.properties |
| 类和说明 |
|---|
| AbstractPropertiesLoader
这个抽象类用于加载 .properties 文件
子类需要实现 loadProperties() 方法继而完善工作
This class is used to load .properties file
Subclass should override loadProperties() method
|
| ReaderPropertiesLoader
Properties 配置文件加载器
这个相比 cn.com.fishin.tuz.loader.properties.InputStreamPropertiesLoader
多了一个字符集属性,可以避免非英文字符出现乱码问题,默认使用 UTF8 字符集
这个加载器适用于使用 Reader 加载资源文件的加载器,
子类必须实现 getReader(String resourceFileName) 方法
Properties file loader
This loader uses Reader to load resource,
subclass must implement method getReader(String resourceFileName)
|
Copyright © 2019. All Rights Reserved.