public class HiddenFileFilter extends Object implements ImportFilter
ImportFilter
that filters out hidden files.
The exact definition of "hidden" is OS dependent - see http://download.oracle.com/javase/6/docs/api/java/io/File.html#isHidden() for details.Constructor and Description |
---|
HiddenFileFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldFilter(ImportableItem importableItem)
Method that checks whether the given file or folder should be filtered.
|
public boolean shouldFilter(ImportableItem importableItem)
ImportFilter
shouldFilter
in interface ImportFilter
importableItem
- The source importable item to check for filtering (will not be null).ImportFilter.shouldFilter(org.alfresco.repo.bulkimport.ImportableItem)
Copyright © 2005–2017 Alfresco Software. All rights reserved.