Class UnifiedDiffReader
java.lang.Object
com.github.difflib.unifieddiff.UnifiedDiffReader
- Author:
- Tobias Warneke (t.warneke@gmx.net)
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnifiedDiffparseUnifiedDiff(InputStream stream) To parse a diff file use this method.
-
Method Details
-
parseUnifiedDiff
public static UnifiedDiff parseUnifiedDiff(InputStream stream) throws IOException, UnifiedDiffParserException To parse a diff file use this method.- Parameters:
stream- This is the diff file data.- Returns:
- In a UnifiedDiff structure this diff file data is returned.
- Throws:
IOExceptionUnifiedDiffParserException
-