public class FileTypeSelector extends Object implements FileSelector
FileSelector that selects files of a particular type.| Constructor and Description |
|---|
FileTypeSelector(FileType type) |
| 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 FileTypeSelector(FileType type)
public boolean includeFile(FileSelectInfo fileInfo) throws FileSystemException
includeFile in interface FileSelectorfileInfo - The file selection information.FileSystemException - if an error occurspublic boolean traverseDescendents(FileSelectInfo fileInfo)
traverseDescendents in interface FileSelectorfileInfo - The file selection information.Copyright © 2002–2018 WSO2. All rights reserved.