Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 935 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 935 Bytes

IterateINI

Zero dependency pure Java library to support iterating over the key-value pairs of any INI file.

How To Add As Library

Add it as a maven dependency or just download the latest release.

<dependency>
  <groupId>com.konloch</groupId>
  <artifactId>IterateINI</artifactId>
  <version>1.0.3</version>
</dependency>

Links

How To Use

This shows an example of using the API to read an example ini file. The key and value parameters are String types.

IterateINI.fromFile(new File("example.ini"), (key, value) -> {
	System.out.println("Key: " + key + ", Value: " + value);
});

Disclaimer

The API is read only, and does not support sections, entry recognition or multi-line values