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
> {
15 * Create a new {@link ConfigBundle}.
17 public ConfigBundle() {
18 super(Config
.class, Target
.config
, null);
22 * Update resource file.
28 * in case of I/O error
30 public static void main(String
[] args
) throws IOException
{
31 String path
= new File(".").getAbsolutePath()
32 + "/src/be/nikiroo/fanfix/bundles/";
33 new ConfigBundle().updateFile(path
);
34 System
.out
.println("Path updated: " + path
);
38 protected String
getBundleDisplayName() {
39 return "Configuration options";