Package org.eclipse.compare.patch
Class PatchParser
java.lang.Object
org.eclipse.compare.patch.PatchParser
Helper class for parsing patches.
- Since:
- org.eclipse.compare.core 3.5
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IFilePatch2[]
parsePatch
(ReaderCreator content) Parse the given patch and return the set of file patches that it contains.
-
Constructor Details
-
PatchParser
public PatchParser()
-
-
Method Details
-
parsePatch
Parse the given patch and return the set of file patches that it contains.- Parameters:
content
- a patch reader creator- Returns:
- the set of file patches that the patch contains
- Throws:
CoreException
- if an error occurs reading the contents
-