com.cloudbees.diff
Class ContextualPatch
java.lang.Object
com.cloudbees.diff.ContextualPatch
public final class ContextualPatch
- extends Object
Applies contextual patches to files. The patch file can contain patches for multiple files.
- Author:
- Maros Sandor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAGIC
public static final String MAGIC
- See Also:
- Constant Field Values
create
public static ContextualPatch create(File patchFile,
File context)
patch
public List<ContextualPatch.PatchReport> patch(boolean dryRun)
throws PatchException,
IOException
- Parameters:
dryRun - true if the method should not make any modifications to files, false otherwise
- Returns:
-
- Throws:
PatchException
IOException
Copyright © 2011-2012. All Rights Reserved.