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 Type
    Method
    Description
    boolean
    Checks whether a file for the specified path exists.
    Returns the file list for given folder path and all its subfolders.
    Returns a file stream for the specified path.
    void
    Stops the project source provider in the flow of the comparison session closure.
  • Method Details

    • 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 be null
      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 be null
      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.