org.alfresco.repo.bulkimport.importfilters
Class NotImportFilter

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

public class NotImportFilter
extends java.lang.Object
implements ImportFilter

This class provides an ImportFilter that returns the opposite of the configured SourceFilter.

Since:
4.0

Constructor Summary
NotImportFilter(ImportFilter original)
           
 
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

NotImportFilter

public NotImportFilter(ImportFilter original)
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.