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