public class DiffParser extends Object
| Constructor and Description |
|---|
DiffParser() |
| Modifier and Type | Method and Description |
|---|---|
Patches |
parse(InputStream in) |
Patches |
parse(String diff) |
DiffParser |
setNewPrefix(String newPrefix) |
DiffParser |
setOldPrefix(String oldPrefix) |
public DiffParser setOldPrefix(String oldPrefix)
public DiffParser setNewPrefix(String newPrefix)
public Patches parse(String diff) throws IOException, MalformedDiffException
IOExceptionMalformedDiffExceptionpublic Patches parse(InputStream in) throws IOException, MalformedDiffException
IOExceptionMalformedDiffExceptionCopyright © 2020. All rights reserved.