package org.helioviewer.jhv.plugins.swek.sources.comesep;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * Gives access to the COMESEP source properties
 * 
 * @author Bram Bourgoignie (Bram.Bourgoignie@oma.be)
 * 
 */
public class ComesepProperties {
    private static ComesepProperties singletonInstance;

    /** The COMESEP source properties */
    private final Properties comesepProperties;

    /**
     * Private default constructor.
     */
    private ComesepProperties() {
        comesepProperties = new Properties();
        loadProperties();
    }

    /**
     * Gets the singleton instance of the COMESEP source properties
     * 
     * @return the COMESEP source properties
     */
    public static ComesepProperties getSingletonInstance() {
        if (singletonInstance == null) {
            singletonInstance = new ComesepProperties();
        }
        return singletonInstance;
    }

    /**
     * Gets the COMESEP source properties.
     * 
     * @return the comesep source properties
     */
    public Properties getComesepProperties() {
        return comesepProperties;
    }

    /**
     * Loads the overall comesep source settings.
     */
    private void loadProperties() {
        InputStream defaultPropStream = ComesepProperties.class.getResourceAsStream("/comesepsource.properties");
        try {
            comesepProperties.load(defaultPropStream);
        } catch (IOException ex) {
            System.out.println("Could not load the hek settings." + ex);
        }
    }
}

@@ -193,18 +193,17 @@
 rties%0A *
- 
 %0A
+
  * @auth
@@ -250,17 +250,16 @@
 a.be)%0A *
- 
 %0A */%0Apub
@@ -678,25 +678,24 @@
 rties%0A     *
- 
 %0A     * @ret
@@ -1003,17 +1003,16 @@
 .%0A     *
- 
 %0A     * 
@@ -1520,11 +1520,15 @@
 the 
-hek
+comesep
  set

change wording