This commit is contained in:
Fabio Sinibaldi 2013-09-13 10:11:29 +00:00
parent 25eb7b12b5
commit b79f048dc0
1 changed files with 3 additions and 3 deletions

View File

@ -3,16 +3,16 @@ package org.gcube.spatial.data.geonetwork.utils;
import java.io.IOException; import java.io.IOException;
import java.util.Properties; import java.util.Properties;
import org.gcube.spatial.data.geonetwork.configuration.DefaultConfiguration; import org.gcube.spatial.data.geonetwork.GeoNetwork;
public class RuntimeParameters { public class RuntimeParameters {
private Properties props; private Properties props=new Properties();
public RuntimeParameters() throws IOException { public RuntimeParameters() throws IOException {
props.load(DefaultConfiguration.class.getResourceAsStream("query.properties")); props.load(GeoNetwork.class.getResourceAsStream("query.properties"));
} }
public Properties getProps() { public Properties getProps() {