Interface IProjectSourceProvider
- All Known Subinterfaces:
IExtendedProjectSourceProvider
- All Known Implementing Classes:
AbstractProjectSourceProvider
,DtProjectSourceProvider
,FileSystemProjectSourceProvider
,GitProjectSourceProvider
,LibraryAwareProjectSourceProvider
,LibrarySourceProvider
public interface IProjectSourceProvider
Provides information about files in projects being compared.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fileExists
(Path path) Checks whether a file for the specified path exists.getFileListRecursively
(Path path) Returns the file list for given folder path and all its subfolders.getFileStream
(Path path) Returns a file stream for the specified path.void
stop()
Stops the project source provider in the flow of the comparison session closure.
-
Method Details
-
fileExists
Checks whether a file for the specified path exists.- Parameters:
path
- the specified path to check the existence for, cannot benull
- Returns:
true
if the file exists,false
otherwise
-
getFileListRecursively
Returns the file list for given folder path and all its subfolders.- Parameters:
path
- the relative folder path to get the file list for, can not benull
- Returns:
- the list of relative file paths, never
null
-
getFileStream
Returns a file stream for the specified path.- Parameters:
path
- the string with the path- Returns:
- the input stream
-
stop
void stop()Stops the project source provider in the flow of the comparison session closure.
-