public class PropertiesReader extends Object
| Constructor and Description |
|---|
PropertiesReader() |
PropertiesReader(InputStream inputStream) |
PropertiesReader(String fileName) |
PropertiesReader(String filePathAndName,
boolean custom)
使用指定路径的文件进行配置.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getKeys() |
String |
getValue(String key) |
String |
getValue(String key,
String defaultValue) |
String |
getValueText(String key) |
public PropertiesReader()
public PropertiesReader(String fileName)
public PropertiesReader(String filePathAndName, boolean custom)
filePathAndName - custom - public PropertiesReader(InputStream inputStream)
Copyright © 2024. All rights reserved.