public class GlobVFSFileFilter extends java.lang.Object implements VFSFileFilter
VFSFileFilter
that uses Unix-style globs
to filter files. This doesn't filter directories - just files.SERVICE_NAME
Constructor and Description |
---|
GlobVFSFileFilter(java.lang.String glob) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.String url)
Same thing as
VFSFileFilter.accept(VFSFile) above, but operates on
the raw URL instead of a VFSFile object. |
boolean |
accept(VFSFile file)
Should return whether the entry represented by the given URL
should be listed in the browser view.
|
java.lang.String |
getDescription()
Returns the description of the filter, to be used in the
VFSBrowser window.
|
java.lang.String |
getGlob() |
void |
setGlob(java.lang.String glob) |
java.lang.String |
toString() |
public boolean accept(VFSFile file)
VFSFileFilter
accept
in interface VFSFileFilter
public boolean accept(java.lang.String url)
VFSFileFilter
VFSFileFilter.accept(VFSFile)
above, but operates on
the raw URL instead of a VFSFile object.accept
in interface VFSFileFilter
public java.lang.String getDescription()
VFSFileFilter
getDescription
in interface VFSFileFilter
public java.lang.String toString()
toString
in class java.lang.Object
public void setGlob(java.lang.String glob)
public java.lang.String getGlob()