VFSFileFilter
public static class VFSBrowser.DirectoriesOnlyFilter extends java.lang.Object implements VFSFileFilter
SERVICE_NAME
Constructor | Description |
---|---|
DirectoriesOnlyFilter() |
Modifier and Type | Method | 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.
|
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