接口 ConfigParser
public interface ConfigParser
ConfigParser related
- 从以下版本开始:
- 1.0.0
- 作者:
- yanhom
-
方法概要
-
方法详细资料
-
supports
Judge type.- 参数:
type- config file type- 返回:
- true if the parse supports this type, else false
-
types
List<ConfigFileTypeEnum> types()Type: yaml, properties...- 返回:
- the parse supports types.
-
doParse
Parse content.- 参数:
content- content- 返回:
- k-v properties
- 抛出:
IOException- if occurs error while parsing
-
doParse
Parse content.- 参数:
content- contentprefix- key prefix- 返回:
- k-v properties
- 抛出:
IOException- if occurs error while parsing
-