|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.vfs2.FileTypeSelector
public class FileTypeSelector
A FileSelector that selects files of a particular type.
| Constructor Summary | |
|---|---|
FileTypeSelector(FileType type)
|
|
| Method Summary | |
|---|---|
boolean |
includeFile(FileSelectInfo fileInfo)
Determines if a file or folder should be selected. |
boolean |
traverseDescendents(FileSelectInfo fileInfo)
Determines whether a folder should be traversed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileTypeSelector(FileType type)
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||