|
JBoss VFS 3.1.0.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.vfs.util.AbstractPatternVirtualFileFilter
public abstract class AbstractPatternVirtualFileFilter
Regexp patter filter.
Constructor Summary | |
---|---|
AbstractPatternVirtualFileFilter(String regexp)
|
Method Summary | |
---|---|
boolean |
accepts(VirtualFile file)
Match the virtual file |
protected abstract boolean |
doMatch()
Should we match the pattern. |
protected abstract String |
getMatchString(VirtualFile file)
Extract match string from file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractPatternVirtualFileFilter(String regexp)
Method Detail |
---|
protected abstract String getMatchString(VirtualFile file)
file
- the file
protected abstract boolean doMatch()
public boolean accepts(VirtualFile file)
VirtualFileFilter
accepts
in interface VirtualFileFilter
file
- the virtual file
|
JBoss VFS 3.1.0.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |