Exemple #1
0
 public static void reload() throws IOException, InvalidConfigurationException {
   config.reload();
 }
Exemple #2
0
 public void setValue(final Object value) {
   config.set(confVal, value);
 }
Exemple #3
0
 public static void save() throws IOException {
   config.save();
 }
Exemple #4
0
 public float getFloat() {
   return Float.parseFloat(config.getString(confVal));
 }
Exemple #5
0
 public List<String> getStringList() {
   return config.getStringList(confVal);
 }
Exemple #6
0
 public long getLong() {
   return config.getLong(confVal);
 }
Exemple #7
0
 public boolean getBoolean() {
   return config.getBoolean(confVal);
 }
Exemple #8
0
 public double getDouble() {
   return config.getDouble(confVal);
 }
Exemple #9
0
 public int getInt() {
   return config.getInt(confVal);
 }
Exemple #10
0
 public String getString() {
   return config.getString(confVal);
 }