net.grelf.grip
Class Config

java.lang.Object
  extended by net.grelf.grip.Config

public class Config
extends java.lang.Object

Static methods for loading and saving configuration properties for the whole application. This is where the properties are really declared.


Field Summary
protected static java.util.Properties config
           
protected static java.util.List<Defect> defects
           
 
Method Summary
static java.util.List<java.lang.String> getKeys()
           
static java.lang.String getValue(java.lang.String key)
           
static void load()
           
static void loadDefectsFromCSV()
          Ask the user to browse for a CSV file from which the list of defective pixels is read, one point per line.
protected static void save()
           
protected static void set(java.lang.String key, java.lang.String value)
          Convenience method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

protected static java.util.Properties config

defects

protected static java.util.List<Defect> defects
Method Detail

getKeys

public static java.util.List<java.lang.String> getKeys()

getValue

public static java.lang.String getValue(java.lang.String key)

load

public static void load()

loadDefectsFromCSV

public static void loadDefectsFromCSV()
Ask the user to browse for a CSV file from which the list of defective pixels is read, one point per line.


save

protected static void save()

set

protected static void set(java.lang.String key,
                          java.lang.String value)
Convenience method.