Commit bd334618 authored by 杨林's avatar 杨林

属性操作类

parent e6501968
package tools.properties
import java.util.Properties
/**
* Created with IntelliJ IDEA.
* Class: PropertiesTools
* Description: 属性获取类
* User: lin
* Date: 2021-07-19
* Time: 16:19
*/
object PropertiesTools {
private[this] val properties = new Properties()
properties.load(this.getClass.getResourceAsStream("/event.properties"))
def getProperties: Properties = properties
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment