comparison gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java @ 778:9a828e5a2390

Removed trailing whitespace gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 07:58:51 +0000
parents 1c427acb6c76
children b1f5f2a8840f
comparison
equal deleted inserted replaced
777:8009961db1cb 778:9a828e5a2390
19 19
20 import de.intevation.artifacts.PreferredLocale; 20 import de.intevation.artifacts.PreferredLocale;
21 21
22 /** 22 /**
23 * @author Tim Englich <tim.englich@intevation.de> 23 * @author Tim Englich <tim.englich@intevation.de>
24 * 24 *
25 */ 25 */
26 public class RessourceFactory { 26 public class RessourceFactory {
27 27
28 /** 28 /**
29 * the logger, used to log exceptions and additonaly information 29 * the logger, used to log exceptions and additonaly information
53 ressourceDir = System.getProperty(RESSOURCE_BASE_ID, DEFAULT_DIR); 53 ressourceDir = System.getProperty(RESSOURCE_BASE_ID, DEFAULT_DIR);
54 } 54 }
55 55
56 /** 56 /**
57 * This Method provides an singleton Instance of this Class. 57 * This Method provides an singleton Instance of this Class.
58 * 58 *
59 * @return an singleton Instance of this Class 59 * @return an singleton Instance of this Class
60 */ 60 */
61 public static synchronized RessourceFactory getInstance() { 61 public static synchronized RessourceFactory getInstance() {
62 if (instance == null) { 62 if (instance == null) {
63 instance = new RessourceFactory(); 63 instance = new RessourceFactory();
130 } 130 }
131 131
132 132
133 /** 133 /**
134 * Deliveres the translated Value for an Key to an given Language 134 * Deliveres the translated Value for an Key to an given Language
135 * 135 *
136 * @param locale 136 * @param locale
137 * The choosen locale 137 * The choosen locale
138 * @param key 138 * @param key
139 * the key 139 * the key
140 * @param defaultValue 140 * @param defaultValue

http://dive4elements.wald.intevation.org