src/main/java/org/vivoweb/harvester/util/repo/JenaConnect.java
/**
	 * Config Stream Based Factory that overrides parameters
	 * @param configStream the config input stream
	 * @param overrideParams the parameters to override the file with
	 * @return JenaConnect instance
	 * @throws IOException error connecting
	 */
Config Stream Based Factory that overrides parameters
@param configStream the config input stream
@param overrideParams the parameters to override the file with
@return JenaConnect instance
@throws IOException error connecting
Config Stream Based Factory that overrides parameters @param configStream the config input stream @param overrideParams the parameters to override the file with @return JenaConnect instance @throws IOException error connecting
public static JenaConnect parseConfig(InputStream configStream, Map<String, String> overrideParams) throws IOException {
		Map<String, String> paramList = new JenaConnectConfigParser().parseConfig(configStream);
		if(overrideParams != null) {
			for(String key : overrideParams.keySet()) {
				paramList.put(key, overrideParams.get(key));
			}
		}
		for(String param : paramList.keySet()) {
			if(!param.equalsIgnoreCase("dbUser") && !param.equalsIgnoreCase("dbPass")) {
				log.trace("'" + param + "' - '" + paramList.get(param) + "'");
			}
		}
		return build(paramList);
	}
public static JenaConnect parseConfig ( InputStream configStream , Map < String , String > overrideParams ) throws IOException { Map < String , String > paramList = new JenaConnectConfigParser ( ) . parseConfig ( configStream ) ; if ( overrideParams != null ) { for ( String key : overrideParams . keySet ( ) ) { paramList . put ( key , overrideParams . get ( key ) ) ; } } for ( String param : paramList . keySet ( ) ) { if ( ! param . equalsIgnoreCase ( "dbUser" ) && ! param . equalsIgnoreCase ( "dbPass" ) ) { log . trace ( "'" + param + "' - '" + paramList . get ( param ) + "'" ) ; } } return build ( paramList ) ; }
Config Stream Based Factory that overrides parameters
 @param configStream the config input stream
 @param overrideParams the parameters to override the file with
 @return JenaConnect instance
 @throws IOException error connecting
Config Stream Based Factory that overrides parameters @param configStream the config input stream @param overrideParams the parameters to override the file with @return JenaConnect instance @throws IOException error connecting