Applies the specified patch file to the application living in the specified application directory. The supplied observer, if non-null, will be notified of progress along the way.
Note: this method runs on the calling thread, thus the caller may want to make use of a separate thread in conjunction with the patcher so that the user interface is not blocked for the duration of the patch.
Applies the series of deltas in this revision as patches to the given text.
@param src the text to patch, which the method doesn't change.
@return the resulting text after the patches have been applied.
@throws PatchFailedException if any of the patches cannot be applied.
Create a new Patch instance using the specified broker and diff document.
@param broker the DBBroker to use
@param diff the diff document to apply
@throws XPathException
Applies the series of deltas in this revision as patches to the given text.
@param src the text to patch, which the method doesn't change.
@return the resulting text after the patches have been applied.
@throws Exception if any of the patches cannot be applied.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.