@@ -0,0 +1,1479 @@
+import org.json.simple.JSONArray;%0Aimport org.json.simple.JSONObject;%0Aimport org.json.simple.parser.JSONParser;%0Aimport org.json.simple.parser.ParseException;%0A%0Aimport java.io.File;%0Aimport java.io.FileNotFoundException;%0Aimport java.io.FileReader;%0Aimport java.io.IOException;%0Aimport java.util.ArrayList;%0A%0Apublic class Settings %7B%0A    private JSONParser parser;%0A%0A    private JSONArray in;%0A    private JSONArray prior;%0A    private String out;%0A    private Boolean minify;%0A    private String license;%0A%0A    public Settings(File path) throws IOException, ParseException %7B%0A        if(path.exists() && !path.isDirectory()) %7B%0A            ProductionJS.logger.info(%22Import config in %22 + path.getAbsolutePath());%0A            this.parser=new JSONParser();%0A            // Open JSON of settings%0A            JSONObject settings=(JSONObject)parser.parse(new FileReader(path));%0A            this.in = (JSONArray)settings.get(%22in%22);%0A            this.prior = (JSONArray)settings.get(%22prior%22);%0A            this.out = (String)settings.get(%22out%22);%0A            this.minify = (Boolean)settings.get(%22minify%22);%0A            this.license = (String)settings.get(%22license%22);%0A        %7D%0A    %7D%0A    public JSONArray getIn() %7B%0A        return this.in;%0A    %7D%0A    public JSONArray getPrior() %7B%0A        return this.prior;%0A    %7D%0A    public String getOut() %7B%0A        return this.out;%0A    %7D%0A    public Boolean getMinify() %7B%0A        return this.minify;%0A    %7D%0A    public String getLicense() %7B%0A        return this.license;%0A    %7D%0A%7D%0A

Create Settings.java