org.alfresco.repo.bulkimport.importfilters
Class DirectoryImportFilter

java.lang.Object
  extended by org.alfresco.repo.bulkimport.importfilters.DirectoryImportFilter
All Implemented Interfaces:
ImportFilter

public class DirectoryImportFilter
extends java.lang.Object
implements ImportFilter

This class is an ImportFilter that filters out directories.

Since:
4.0

Constructor Summary
DirectoryImportFilter()
           
 
Method Summary
 boolean shouldFilter(ImportableItem importableItem)
          Method that checks whether the given file or folder should be filtered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryImportFilter

public DirectoryImportFilter()
Method Detail

shouldFilter

public boolean shouldFilter(ImportableItem importableItem)
Description copied from interface: ImportFilter
Method that checks whether the given file or folder should be filtered.

Specified by:
shouldFilter in interface ImportFilter
Parameters:
importableItem - The source importable item to check for filtering (will not be null).
Returns:
True if the given importable item should be filtered, false otherwise.
See Also:
org.alfresco.extension.bulkfilesystemimport.ImportFilter#shouldFilter(org.alfresco.extension.bulkfilesystemimport.ImportableItem)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.