protected boolean matchesFilter(final String input,final String[] filter){
  for (  final String match : filter) {
    if (!input.contains(match))     return false;
  }
  return true;
}

protected boolean matchesFilter ( final String input , final String [ ] filter ) { for ( final String match : filter ) { if ( ! input . contains ( match ) ) return false ; } return true ; }
checks if all keywords in filter array are in input
