public final class ContextualPatch extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContextualPatch.PatchReport |
static class |
ContextualPatch.PatchStatus |
| Modifier and Type | Method and Description |
|---|---|
static ContextualPatch |
create(File patchFile,
File context) |
static ContextualPatch |
create(File patchFile,
File context,
Charset encoding) |
List<ContextualPatch.PatchReport> |
patch(boolean dryRun) |
public static final String MAGIC
public static ContextualPatch create(File patchFile, File context)
public static ContextualPatch create(File patchFile, File context, Charset encoding)
public List<ContextualPatch.PatchReport> patch(boolean dryRun) throws PatchException, IOException
dryRun - true if the method should not make any modifications to files, false otherwisePatchExceptionIOExceptionCopyright © 2011–2019. All rights reserved.