Konloch Software

Iterate INI

Published 02/19/2023 Updated 02/25/2023

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

What Does It Do?

  • Small Java Library that provides an API for iterating over ini files.

Links

Requirements

  • Java 8 or greater

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);
});

How To Integrate as a Dependency

Add the following to your pom.xml as a maven dependency, or just download the latest release and import it with your IDE.

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

Disclaimer

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

Latest Updates

Iterate INI v1.0.3

This is the fourth public release of the library, it has been heavily tested but please feel free to report any issues found.

To add it as a…

Read More

Iterate INI v1.0.2

This is the third public release of the library, it has been heavily tested but please feel free to report any issues found.

To add it as a…

Read More

Iterate INI v1.0.1

This is the second public release of the library, it has been heavily tested but please feel free to report any issues found.

To add it as a…

Read More

Iterate INI v1.0.0

This is the first public release of the library, it has been heavily tested but please feel free to report any issues found.

To add it as a…

Read More