public class YmlUtils extends Object
| 构造器和说明 |
|---|
YmlUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Properties |
getPropertiesYml(String fileName)
获取myl文件中的所有内容,需要哪个自己通过getProperty(key)的方法取
|
static String |
getValueYml(String fileName,
String key)
获取yml文件中key的对应值
|
public static String getValueYml(String fileName, String key)
public static Properties getPropertiesYml(String fileName)
Copyright © 2021 tan. All rights reserved.