java.lang.Object
com.tlcsdm.core.dsl.impl.IterateINI
Support iterating over the key-value pairs of any INI file.
- 作者:
- unknowIfGuestInDream, Konloch
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidfromFile(File file, KeyValuePairFound onPairFound) Parse and iterate the key-value pairs of any INI file.static voidfromFile(String filePath, KeyValuePairFound onPairFound) Parse and iterate the key-value pairs of any INI file.
-
字段详细资料
-
ini
Define a new DSL as INI format
-
-
构造器详细资料
-
IterateINI
private IterateINI()
-
-
方法详细资料
-
fromFile
Parse and iterate the key-value pairs of any INI file.- 参数:
filePath- any String as the file path of the INI fileonPairFound- any KeyValuePairFound called whenever a key-value pair is found- 抛出:
IOException- if an I/O error occurs reading from the stream
-
fromFile
Parse and iterate the key-value pairs of any INI file.- 参数:
file- any File in INI file formatonPairFound- any KeyValuePairFound called whenever a key-value pair is found- 抛出:
IOException- if an I/O error occurs reading from the stream
-