git-svn-id: http://svn.research-infrastructures.eu/d4science/gcube/trunk/spatial-data/geonetwork@81384 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
25eb7b12b5
commit
b79f048dc0
|
@ -3,16 +3,16 @@ package org.gcube.spatial.data.geonetwork.utils;
|
|||
import java.io.IOException;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.gcube.spatial.data.geonetwork.configuration.DefaultConfiguration;
|
||||
import org.gcube.spatial.data.geonetwork.GeoNetwork;
|
||||
|
||||
public class RuntimeParameters {
|
||||
|
||||
|
||||
|
||||
private Properties props;
|
||||
private Properties props=new Properties();
|
||||
|
||||
public RuntimeParameters() throws IOException {
|
||||
props.load(DefaultConfiguration.class.getResourceAsStream("query.properties"));
|
||||
props.load(GeoNetwork.class.getResourceAsStream("query.properties"));
|
||||
}
|
||||
|
||||
public Properties getProps() {
|
||||
|
|
Loading…
Reference in New Issue