/** * Determines if a file or folder should be selected. * * @param fileInfo The file selection information. * @return true if the file or folder should be included, false otherwise. */ @Override public boolean includeFile(final FileSelectInfo fileInfo) { if (!super.includeFile(fileInfo)) { return false; } return accept(fileInfo); }
final FileObject[] allFoldersInParent = parentFolder.findFiles(new FileDepthSelector(1, 1)); for (final FileObject folderInParent : allFoldersInParent) { final String folderInParentName = folderInParent.getName().getBaseName();
for ( FileObject f : pluginFolder.findFiles( new FileDepthSelector( 1, 1 ) ) ) { if ( !"hadoop-configurations".equals( f.getName().getBaseName() ) && !"pentaho-mapreduce-libraries.zip".equals( f.getName().getBaseName() ) ) {
/** * Determines if a file or folder should be selected. * * @param fileInfo The file selection information. * @return true if the file or folder should be included, false otherwise. */ @Override public boolean includeFile(final FileSelectInfo fileInfo) { if (!super.includeFile(fileInfo)) { return false; } return accept(fileInfo); }
/** * Determines if a file or folder should be selected. * * @param fileInfo The file selection information. * @return true if the file or folder should be included, false otherwise. */ @Override public boolean includeFile(final FileSelectInfo fileInfo) throws Exception { if (!super.includeFile(fileInfo)) { return false; } return accept(fileInfo); }
/** * Determines if a file or folder should be selected. * @param fileInfo The file selection information. * @return true if the file or folder should be included, false otherwise. */ @Override public boolean includeFile(final FileSelectInfo fileInfo) { if (!super.includeFile(fileInfo)) { return false; } return accept(fileInfo); }