public class AllFileSelector extends Object implements FileSelector
FileSelector
that selects everything.Constructor and Description |
---|
AllFileSelector() |
Modifier and Type | Method and Description |
---|---|
boolean |
includeFile(FileSelectInfo fileInfo)
Determines if a file or folder should be selected.
|
boolean |
traverseDescendents(FileSelectInfo fileInfo)
Determines whether a folder should be traversed.
|
public boolean includeFile(FileSelectInfo fileInfo) throws Exception
includeFile
in interface FileSelector
fileInfo
- The file selection information.Exception
- if an error occurs.public boolean traverseDescendents(FileSelectInfo fileInfo) throws Exception
traverseDescendents
in interface FileSelector
fileInfo
- The file selection information.Exception
- if an error occurs.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.