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 June 22 2019. | Copyright © 2017-2019 Apache Software Foundation. All Rights Reserved.