Package org.alfresco.repo.bulkimport
Interface DirectoryAnalyser
- All Known Implementing Classes:
DirectoryAnalyserImpl
public interface DirectoryAnalyser
This interface defines a directory analyser. This is the process by which
the contents of a source directory are grouped together into a list of
ImportableItems.
Please note that this interface is not intended to have more than one implementation
(DirectoryAnalyserImpl) - it exists solely for dependency injection purposes.- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRegex string for the version filename suffix -
Method Summary
Modifier and TypeMethodDescriptionanalyseDirectory(ImportableItem directory, DirectoryStream.Filter<Path> filter) Analyses the given directory.
-
Field Details
-
VERSION_SUFFIX_REGEX
Regex string for the version filename suffix- See Also:
-
-
Method Details
-
analyseDirectory
Analyses the given directory.- Parameters:
directory- The directory to analyse (note: must be a directory) (must not be null).- Returns:
- An
AnalysedDirectoryobject (will not be null).
-