The following example filters all files of the name *.tmp:
public class TmpFilter implements BrowserFilter, ExampleFilter { public String getName() { return "tmpFilter"; } public String getDescription() { return "show only *.tmp files"; } public boolean filter(ExampleBrowserNode node) { return node.getLocalName().endsWith(".tmp"); } }