/*
Copyright (c) [2023] [squallzhao]
fountain is licensed under APACHE LICENSE, VERSION 2.0.
You can use this software according to the terms and conditions of the APACHE LICENSE, VERSION 2.0.
You may obtain a copy of APACHE LICENSE, VERSION 2.0 at: https://www.apache.org/licenses/LICENSE-2.0
*/
package microservice.config
public class ResourceFile{
static let properties = Properties()
static let resources = ResourceFile()
public init(){
properties.load(Constant.RESOURCE_FILE)
}
static public func getProperty(key: String): Option<String>{
return properties.getProperty(key)
}
}