1 package be
.nikiroo
.fanfix
.bundles
;
4 import java
.io
.IOException
;
6 import be
.nikiroo
.utils
.resources
.Bundle
;
9 * This class manages the configuration of the application.
13 public class ConfigBundle
extends Bundle
<Config
> {
14 public ConfigBundle() {
15 super(Config
.class, Target
.config
);
19 * Update resource file.
25 * in case of I/O error
27 public static void main(String
[] args
) throws IOException
{
28 String path
= new File(".").getAbsolutePath()
29 + "/src/be/nikiroo/fanfix/bundles/";
30 new ConfigBundle().updateFile(path
);
31 System
.out
.println("Path updated: " + path
);
35 protected String
getBundleDisplayName() {
36 return "Configuration options";