Package org.alfresco.repo.bulkimport
Interface DirectoryAnalyser
-
- All Known Implementing Classes:
DirectoryAnalyserImpl
public interface DirectoryAnalyserThis interface defines a directory analyser. This is the process by which the contents of a source directory are grouped together into a list ofImportableItems. 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
Fields Modifier and Type Field Description static java.lang.StringVERSION_SUFFIX_REGEXRegex string for the version filename suffix
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalysedDirectoryanalyseDirectory(ImportableItem directory, java.nio.file.DirectoryStream.Filter<java.nio.file.Path> filter)Analyses the given directory.
-
-
-
Field Detail
-
VERSION_SUFFIX_REGEX
static final java.lang.String VERSION_SUFFIX_REGEX
Regex string for the version filename suffix- See Also:
- Constant Field Values
-
-
Method Detail
-
analyseDirectory
AnalysedDirectory analyseDirectory(ImportableItem directory, java.nio.file.DirectoryStream.Filter<java.nio.file.Path> filter)
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).
-
-