Skip to content

No-hassle settings file controller in Java for easy storage/retrieval.

Notifications You must be signed in to change notification settings

mcay23/SettingsController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SettingsController

Simple settings file controller in Java for easy storage/retrieval. Sorted by insertion order.

write() must be called to write changes in file

Usage Example:

File file = new File("settings.ini");
SettingsController settings = new SettingsController(file);
settings.add("name", "john");
settings.add("age", "20");
settings.add("occupation", "student");

settings.write()

System.out.println(settings.get("name"));
System.out.println(settings.get("age"));
System.out.println(settings.get("occupation"));

About

No-hassle settings file controller in Java for easy storage/retrieval.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages