connectionUtils/src/main/java/com/ge/research/semtk/utility/Utility.java
public static Properties withKeyContaining(Properties properties, String [] keyMatch) {
		Properties ret = new Properties();
		for (Object k : properties.keySet()) {
			for (String match : keyMatch) {
				if (((String) k).contains(match)) {
					ret.put(k, properties.get(k));
					break;
				}
			}
		}
		return ret;
	}
/**
	 * Get subset of properties containing one of keyMatch
	 * @param properties
	 * @param keyMatch
	 * @return
	 */
Get subset of properties containing one of keyMatch
@param properties
@param keyMatch
@return
Get subset of properties containing one of keyMatch @param properties @param keyMatch @return
public static Properties withKeyContaining(Properties properties, String [] keyMatch) {
		Properties ret = new Properties();
		for (Object k : properties.keySet()) {
			for (String match : keyMatch) {
				if (((String) k).contains(match)) {
					ret.put(k, properties.get(k));
					break;
				}
			}
		}
		return ret;
	}
public static Properties withKeyContaining ( Properties properties , String [ ] keyMatch ) { Properties ret = new Properties ( ) ; for ( Object k : properties . keySet ( ) ) { for ( String match : keyMatch ) { if ( ( ( String ) k ) . contains ( match ) ) { ret . put ( k , properties . get ( k ) ) ; break ; } } } return ret ; }
Get subset of properties containing one of keyMatch
 @param properties
 @param keyMatch
 @return
Get subset of properties containing one of keyMatch @param properties @param keyMatch @return