@@ -0,0 +1,1788 @@
+package pt.webdetails.cda.utils;%0A%0Aimport javax.swing.table.TableModel;%0A%0Aimport org.apache.commons.lang.StringUtils;%0A%0A%0A/**%0A * Provides server-side filtering akin to %3Ca href=%22http://datatables.net/ref%22%3EDataTables%3C/a%3E' bFilter option.%3Cbr%3E%0A * All search terms must have a hit in one of the columns for a match  %0A */%0Apublic class DataTableFilter %7B%0A%0A  private static final String TERM_SEPARATOR = %22 %22;%0A  %0A  private String%5B%5D searchTerms;%0A  private int%5B%5D searchableColumns;%0A  %0A  /**%0A   * %0A   * @param searchText space-separated list of search terms%0A   * @param searchableColumns columns indexes to search on%0A   */%0A  public DataTableFilter(String searchText, int%5B%5D searchableColumns)%7B%0A    %0A    if(searchableColumns == null %7C%7C searchText == null)%7B%0A      throw new IllegalArgumentException(DataTableFilter.class.getName() + %22 cannot have null arguments.%22);%0A    %7D%0A    %0A    this.searchableColumns = searchableColumns;%0A    this.searchTerms = StringUtils.split(searchText, TERM_SEPARATOR);%0A  %7D%0A  %0A  public boolean rowContainsSearchTerms(TableModel table, int rowIndex)%7B%0A    String%5B%5D columnValues = getRelevantColumns(table, rowIndex);%0A    %0A    for(String searchTerm : searchTerms) %7B%0A      boolean containsTerm = false;%0A      for(String value: columnValues)%7B%0A        if(StringUtils.containsIgnoreCase(value, searchTerm))%7B%0A          containsTerm = true;%0A          continue;%0A        %7D%0A      %7D%0A      if(!containsTerm) return false;%0A    %7D%0A    %0A    return true;%0A    %0A  %7D%0A  %0A  private String%5B%5D getRelevantColumns(TableModel table, int rowIndex)%7B%0A    String%5B%5D row = new String%5BsearchableColumns.length%5D;%0A    for(int i=0; i%3C row.length; i++)%7B%0A      Object rawValue = table.getValueAt(rowIndex, searchableColumns%5Bi%5D);%0A      row%5Bi%5D = (rawValue == null) ? null : rawValue.toString();%0A    %7D%0A    return row;%0A  %7D%0A  %0A%7D%0A

Add a missing class.