public class DirectoryFilter extends Object implements FileFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File pathname)
Tests whether or not the specified abstract pathname should be
included in a pathname list.
|
static DirectoryFilter |
getInstance() |
public boolean accept(File pathname)
accept
in interface FileFilter
pathname
- The abstract pathname to be testedtrue
if and only if pathname
should be includedpublic static DirectoryFilter getInstance()
Copyright © 2002–2016 SoftSmithy. All rights reserved.