Interface IProjectSourceProvider
-
public interface IProjectSourceProvider
Provides information about files in projects being compared.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
fileExists(Path path)
Checks whether a file for the specified path exists.List<Path>
getFileListRecursively(Path path)
Returns the file list for given folder path and all its subfolders.InputStream
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 Detail
-
fileExists
boolean fileExists(Path path)
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
List<Path> getFileListRecursively(Path path)
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
InputStream getFileStream(Path path)
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.
-
-