Interface DiffSupplier
public interface DiffSupplier
Supplier of file differences.
This can be a data source (e.g. an already computed diff file) or it can produce diffs on the
fly by reading files from a FileSource
and processing each one by one.
- Author:
- sjnickerson@google.com (Simon Nickerson)
-
Method Summary
Modifier and TypeMethodDescriptiongetDiffs
(FileSource fileSource, @Nullable String[] fileNames) Gets the list of differences
-
Method Details
-
getDiffs
Gets the list of differences- Parameters:
fileSource
- the source of source filesfileNames
- an optional list of filenames to restrict to. If null, there is no restriction on file names. This will make more sense for some diff suppliers than others.)- Returns:
- the diffs
- Throws:
IOException
- if there is an I/O problem while generating the diffs
-