org.rhq.core.pluginapi.util
Class SnapshotReport.RegexFilenameFilter

java.lang.Object
  extended by org.rhq.core.pluginapi.util.SnapshotReport.RegexFilenameFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
SnapshotReport

protected static class SnapshotReport.RegexFilenameFilter
extends Object
implements FilenameFilter

Filename filter that matches the filename if it matches a given regular expression. If the given regular expression is null, this filter matches everything.


Constructor Summary
SnapshotReport.RegexFilenameFilter(String regex, String recursive)
           
 
Method Summary
 boolean accept(File dir, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotReport.RegexFilenameFilter

public SnapshotReport.RegexFilenameFilter(String regex,
                                          String recursive)
Method Detail

accept

public boolean accept(File dir,
                      String name)
Specified by:
accept in interface FilenameFilter


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.