|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.bulkimport.importfilters.FileNameRegexImportFilter
public class FileNameRegexImportFilter
This class is an ImportFilter that filters out files and/or folders whose name, excluding
path, matches the configured regular expression.
| Constructor Summary | |
|---|---|
FileNameRegexImportFilter(java.lang.String filenameRegex)
Simple constructor for a FileNameRegexSourceFilter |
|
| 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 |
|---|
public FileNameRegexImportFilter(java.lang.String filenameRegex)
filenameRegex - The regex to use to match against file and folder names (must not be null).| Method Detail |
|---|
public boolean shouldFilter(ImportableItem importableItem)
ImportFilter
shouldFilter in interface ImportFilterimportableItem - The source importable item to check for filtering (will not be null).
org.alfresco.extension.bulkfilesystemimport.ImportFilter#shouldFilter(org.alfresco.extension.bulkfilesystemimport.ImportableItem)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||