Skip to content

Konloch/IterateINI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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