core/src/main/java/org/apache/commons/vfs2/FileTypeSelector.java
/**
     * Determines if a file or folder should be selected.
     * @param fileInfo The file selection information.
     * @return true if the file or folder should be selected.
     * @throws FileSystemException if an error occurs
     */
Determines if a file or folder should be selected.
@param fileInfo The file selection information.
@return true if the file or folder should be selected.
@throws FileSystemException if an error occurs
Determines if a file or folder should be selected . @param fileInfo The file selection information . @return true if the file or folder should be selected . @throws FileSystemException if an error occurs
public boolean includeFile(final FileSelectInfo fileInfo)
        throws FileSystemException
    {
        return fileInfo.getFile().getType() == type;
    }
public boolean includeFile ( final FileSelectInfo fileInfo ) throws FileSystemException { return fileInfo . getFile ( ) . getType ( ) == type ; }
Determines if a file or folder should be selected.
Determines if a file or folder should be selected .