Package | Description |
---|---|
oracle.javatools.patch |
Modifier and Type | Method and Description |
---|---|
PatchModel |
PatchEngine.createModel(PatchContributor fromFileContributor, PatchCreateOptions createOptions)
Creates a
PatchModel based on differences between the given contributor and the engine's to-file contributor, according to options. |
PatchModel |
PatchEngine.createModel(PatchStreamContributor fromStream, PatchCreateOptions createOptions)
Creates a
PatchModel based on differences between the given inputstream and the engine's to input stream, according to options. |
PatchModel |
PatchFormat.parse(byte[] source, boolean noFile)
Parses the given Unified-format patch text to a
PatchModel . |
PatchModel |
PatchFormat.parse(java.lang.String source)
Parses the given Unified-format patch text to a
PatchModel . |
PatchModel |
PatchEngine.reverseModel(PatchModel patchModel, java.lang.String fromFileBaseDirectoryPath)
Reverses the information contained in the given
PatchModel . |
Modifier and Type | Method and Description |
---|---|
void |
PatchEngine.applyModel(PatchModel patchModel, PatchContext patchContext, PatchApplyOptions applyOptions)
Applies the given
PatchModel to the engine's to-file contributor, according to options. |
byte[] |
PatchEngine.applyModelNoFiles(PatchModel patchModel, PatchContext patchContext)
Applies the given
PatchModel to the engine's to-Stream contributor, according to options. |
java.lang.String |
PatchFormat.format(PatchModel model)
Formats the given
PatchModel to Unified-format patch text. |
byte[] |
PatchFormat.formatByte(PatchModel model) |
PatchContext |
PatchEngine.matchModel(PatchModel patchModel, PatchMatchOptions matchOptions)
Matches the given
PatchModel against the engine's to-file contributor, according to options. |
PatchContext |
PatchEngine.matchModelNoFiles(PatchModel patchModel, PatchMatchOptions matchOptions) |
PatchModel |
PatchEngine.reverseModel(PatchModel patchModel, java.lang.String fromFileBaseDirectoryPath)
Reverses the information contained in the given
PatchModel . |