|
org.netbeans.modules.diff/1 1.28.2 42 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.diff.PatchUtils
public class PatchUtils
Utility class for patch application.
| Method Summary | |
|---|---|
static void |
applyPatch(File patch,
File context)
Applies the patch file on the context file or folder. |
static boolean |
isPatch(File patch)
Returns true only if the given file is a patch in a format recognizable as a context normal unified |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void applyPatch(File patch,
File context)
throws IOException
patch - the patch filecontext - the file or folder to be updated with the patch
org.netbeans.modules.diff.builtin.PatchException
IOException - - the patch is invalid or cannot be applied
public static boolean isPatch(File patch)
throws IOException
file - patch file
IOException
|
org.netbeans.modules.diff/1 1.28.2 42 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||