public class ORFileFilter extends CompoundFileFilter
Constructor and Description |
---|
ORFileFilter(FileFilter first,
FileFilter second)
Creates a new instance of ANDFileFilter
|
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.
|
getFirstFilter, getSecondFilter
public ORFileFilter(FileFilter first, FileFilter second)
public boolean accept(File pathname)
pathname
- The abstract pathname to be testedtrue
if and only if pathname
should be includedCopyright © 2002–2016 SoftSmithy. All rights reserved.