Lines Matching refs:filter
37 * to get the list of keyfiles and associated logfiles based on a filter
43 private String filter = null;
46 * Constructor that takes the filter as input to create the File Filter
48 * @param filter filter to create the File Filter.
50 public LogFileFilter(String filter) {
51 this.filter = filter;
55 * Implementation of the accept method that creates a filter
59 * @return true if filter is created successfully.
65 /* interpret null filter as satisfying all conditions */
66 if ((filter == null) || (filter.length() == 0)) {
70 /* tokenize the filter with the wildcard character */
71 StringTokenizer st = new StringTokenizer(filter, "*");
77 if (filter.charAt(0) != '*') {
94 if (!filter.endsWith("*") && (filename.length() != 0)) {