Package com.github.difflib.unifieddiff
Class UnifiedDiffReader
- java.lang.Object
-
- com.github.difflib.unifieddiff.UnifiedDiffReader
-
public final class UnifiedDiffReader extends Object
- Author:
- Tobias Warneke (t.warneke@gmx.net)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnifiedDiffparseUnifiedDiff(InputStream stream)To parse a diff file use this method.
-
-
-
Method Detail
-
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
-
-