@LoadLevel(name="YAML", order=1, scope=PROTOTYPE) public class YamlFileConfig extends Object implements FileConfig
| Constructor and Description |
|---|
YamlFileConfig(File file,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAllConfig() |
String |
getString(String path) |
public YamlFileConfig(File file, String name) throws IOException
IOExceptionpublic String getString(String path)
getString in interface FileConfigpath - path expressionpublic Map<String,Object> getAllConfig()
getAllConfig in interface FileConfigCopyright © 2023 Seata. All rights reserved.