See: Description
Interface | Description |
---|---|
PatchTextTransformer.Condition | |
SubstitutionContentsTransformer.Condition |
Class | Description |
---|---|
AntFilter |
An ANT filter which modifies the data by applying a patch file.
|
AntTask |
Adds, removes, renames and/or changes the contents of files and archives.
|
AntTask.AddElement |
Configures an "add" operation, i.e. an entry that is added to an archive.
|
AntTask.Element_path |
A predicate that determines whether a path is applicable by matching it with a glob.
|
AntTask.Element_path2 |
A glob that implements renaming of a path.
|
AntTask.PatchElement |
Configures a patch, i.e. the transformation of contents by applying a "DIFF document" to the input.
|
AntTask.SubstituteElement |
Configures a substitution, i.e. the transformation of contents by finding pattern matches and replacing them
with a replacement string.
|
AntTask.TextElement | |
Main |
Implementation of a PATCH command line utility with the following features:
Transforms regular files, directory trees, and optionally compressed files and entries in archive files (also in
nested ones)
Reads patch files in NORMAL, CONTEXT and UNIFIED diff format
Can replace the contents of files from "update files"
Can do search-and-replace within files (SED like)
Can transform out-of-place or in-place
Optionally keeps copies of the original files
Can remove files
Can rename files
|
Main.AddConditions |
This bean represents the various "conditions" command line options of the "--add" action.
|
Main.Conditions |
The base class of the various "conditions" command line options beans.
|
Main.PatchConditions |
This bean represents the various "conditions" command line options of the "--patch" action.
|
Main.RemoveConditions |
This bean represents the various "conditions" command line options of the "--remove" action.
|
Main.RenameConditions |
This bean represents the various "conditions" command line options of the "--rename" action.
|
Main.SubstituteConditions |
This bean represents the various "conditions" command line options of the "--substitute" action.
|
Main.UpdateConditions |
This bean represents the various "conditions" command line options of the "--update" action.
|
Patch |
Implementation of a PATCH utility with the following features:
Transforms regular files, directory trees, and optionally entries in ZIP files (also in nested ones)
Reads patch files in NORMAL, CONTEXT and UNIFIED diff format
Can replace the contents of files from "update files"
Can do search-and-replace within files (SED like)
Can transform out-of-place or in-place
Optionally keeps copies of the original files
Can remove files
Can rename files
Can add files
|
PatchContentsTransformer |
A
ContentsTransformer that applies a patch in NORMAL, CONTEXT or UNIFIED DIFF format. |
PatchTextTransformer |
A
TextTransformer that applies a patch in NORMAL, CONTEXT or UNIFIED DIFF format. |
SubstitutionContentsTransformer |
A
ContentsTransformer that replaces regex matches. |
UpdateContentsTransformer |
A
ContentsTransformer that replaces the contents with that of a given "update file". |
Exception | Description |
---|---|
Main.ExitException |
Dictates that the command line tool should
Printers.info(String) the exception's message, and then
System.exit(int) with the given status. |
Copyright © 2022 Arno Unkrig. All rights reserved.