public class PatchUtils extends Object
|Modifier and Type||Method and Description|
Applies the patch file on the context file or folder.
Returns true only if the given file is a patch in a format recognizable as a context normal unified
public static void applyPatch(File patch, File context) throws IOException
patch- the patch file
context- the file or folder to be updated with the patch
IOException- - the patch is invalid or cannot be applied
Built on August 25 2014. | Portions Copyright 1997-2014 Oracle. All rights reserved.