public class InvertIncludeFileSelector extends Object implements FileSelector
Constructor and Description |
---|
InvertIncludeFileSelector(FileSelector delegateFileSelector) |
Modifier and Type | Method and Description |
---|---|
boolean |
includeFile(FileSelectInfo fileInfo)
Inverts the result of calling
includeFile(FileSelectInfo) on the delegate. |
boolean |
traverseDescendents(FileSelectInfo fileInfo)
Calls
traverseDescendents(FileSelectInfo) on the delegate. |
public InvertIncludeFileSelector(FileSelector delegateFileSelector)
public boolean includeFile(FileSelectInfo fileInfo) throws Exception
includeFile(FileSelectInfo)
on the delegate.includeFile
in interface FileSelector
fileInfo
- the file or folder to select.Exception
- if an error occurs.public boolean traverseDescendents(FileSelectInfo fileInfo) throws Exception
traverseDescendents(FileSelectInfo)
on the delegate.traverseDescendents
in interface FileSelector
fileInfo
- the file or folder to select.Exception
- if an error occurs.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.