aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov/egiz')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/cfg/SettingsReader.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/cfg/SettingsReader.java b/src/main/java/at/knowcenter/wag/egov/egiz/cfg/SettingsReader.java
index 8dea466..4ae64a2 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/cfg/SettingsReader.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/cfg/SettingsReader.java
@@ -141,6 +141,11 @@ public class SettingsReader implements Serializable
* pdf-as internal properties resource path
*/
private static final String PDF_AS_PROP_RESOURCE = "/config/pdf-as.properties";
+
+ /**
+ * internal help file
+ */
+ private static final String HELP_TEXT_PROP_RESOURCE = "/config/help_text.properties";
// /**
// * The web application path
@@ -206,7 +211,7 @@ public class SettingsReader implements Serializable
* The name of the help text configuration file. The definition syntax is the
* java property config syntax.
*/
- public static final String HELP_TEXT_FILE_DEFAULT_NAME = "help_text.properties";
+// public static final String HELP_TEXT_FILE_DEFAULT_NAME = "help_text.properties";
/**
* The java properties from the settings file.
@@ -280,8 +285,9 @@ public class SettingsReader implements Serializable
properties_.load(SettingsReader.class.getResourceAsStream(PDF_AS_PROP_RESOURCE));
Properties help_prop = new Properties();
- FileInputStream hfs = new FileInputStream(cfg_path + HELP_TEXT_FILE_DEFAULT_NAME);
- help_prop.load(hfs);
+// FileInputStream hfs = new FileInputStream(cfg_path + HELP_TEXT_FILE_DEFAULT_NAME);
+// help_prop.load(hfs);
+ help_prop.load(SettingsReader.class.getResourceAsStream(HELP_TEXT_PROP_RESOURCE));
// load properties from current package!
// properties_.load(getClass().getResourceAsStream(settingsFile_));