Menu

Home

Adebiyi Kuseju

Welcome!

How do I use Nimo?

Using File1.txt as a configuration properties data source, where File1.txt contains

KEY_1=VALUE_1
KEY_2=VALUE_2

Create a FileLoader instance as shown below:

Reloadable instance = new FileLoader("File1.txt");
assert instance.getProperty("KEY_2").equals("VALUE_2")

Change the value of KEY_2 to CHANGED_VALUE_2, then retrieve property KEY_2 again

assert instance.getProperty("KEY_2").equals("CHANGED_VALUE_2")

Project Members: