package be.nikiroo.fanfix.bundles; import java.io.File; import java.io.IOException; import be.nikiroo.utils.resources.bundles.Bundle; /** * This class manages the configuration of the application. * * @author niki */ public class ConfigBundle extends Bundle { public ConfigBundle() { super(Config.class, Target.config); } /** * Update resource file. * * @param args * not used * * @throws IOException * in case of I/O error */ public static void main(String[] args) throws IOException { String path = new File(".").getAbsolutePath() + "/src/be/nikiroo/fanfix/bundles/"; new ConfigBundle().updateFile(path); System.out.println("Path updated: " + path); } @Override protected String getBundleDisplayName() { return "Configuration options"; } }