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)
VFSFileFilteraccept in interface VFSFileFilterpublic boolean accept(java.lang.String url)
VFSFileFilterVFSFileFilter.accept(VFSFile) above, but operates on
the raw URL instead of a VFSFile object.accept in interface VFSFileFilterpublic java.lang.String getDescription()
VFSFileFiltergetDescription in interface VFSFileFilterpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setGlob(java.lang.String glob)
public java.lang.String getGlob()