org.rhq.core.pluginapi.util
Class SnapshotReport.RegexFilenameFilter
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapshotReport.RegexFilenameFilter
public SnapshotReport.RegexFilenameFilter(String regex,
String recursive)
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.