core/src/main/java/nl/nn/adapterframework/util/Misc.java
/**
	 * Hide all characters matching the given Regular Expression.
	 * If the set of expressions is null or empty it will return the raw message
	 * @see #hideAll(String, String, int)
	 */
Hide all characters matching the given Regular Expression.
If the set of expressions is null or empty it will return the raw message
@see #hideAll(String, String, int)
Hide all characters matching the given Regular Expression . If the set of expressions is null or empty it will return the raw message @see #hideAll ( String String int )
public static String hideAll(String message, Collection<String> collection, int mode) {
		if(collection == null || collection.isEmpty() || StringUtils.isEmpty(message))
			return message; 
		for (String regex : collection) {
			if (StringUtils.isNotEmpty(regex))
				message = hideAll(message, regex, mode);
		}
		return message;
	}
public static String hideAll ( String message , Collection < String > collection , int mode ) { if ( collection == null || collection . isEmpty ( ) || StringUtils . isEmpty ( message ) ) return message ; for ( String regex : collection ) { if ( StringUtils . isNotEmpty ( regex ) ) message = hideAll ( message , regex , mode ) ; } return message ; }
Hide all characters matching the given Regular Expression.
Hide all characters matching the given Regular Expression .
//Nothing to do!