Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main;
- import config.ConfigHandler;
- public class Main{
- static ConfigHandler test = new ConfigHandler("D:\\test.cfg");
- public static void main(String[] args){
- while(test.isReady()){
- System.out.println("Loaded: "+test.loadNext());
- }
- System.out.println(test.getValue("test") + test.getValue("hello") + test.getValue("world") + test.getValue("cheese"));
- test.closeConfig();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement