19 package org.sleuthkit.autopsy.filesearch;
21 import java.awt.event.ActionListener;
22 import java.beans.PropertyChangeListener;
23 import javax.swing.JComponent;
28 interface FileSearchFilter {
35 JComponent getComponent();
56 String getLastError();
67 String getPredicate() throws FilterValidationException;
72 void addActionListener(ActionListener l);
79 void addPropertyChangeListener(PropertyChangeListener listener);
84 static class FilterValidationException extends Exception {
86 FilterValidationException(String message) {
90 FilterValidationException(String message, Exception cause) {
91 super(message, cause);