The traditional patch format where a stands for added, d
for deleted and c for changed. Line numbers of the original file
appear before a/d/c and those of the modified file appear after. The
less-than and greater-than signs (at the beginning of lines that are
added, deleted or changed) indicate which file the lines appear in.
Addition lines are added to the original file to appear in the new file.
Deletion lines are deleted from the original file to be missing in the
new file. By default, lines common to both files are not shown. Lines
that have moved are shown as added at their new location and as deleted
from their old location.
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PatchFormat c : PatchFormat.values())
an array containing the constants of this enum type, in
the order they are declared
public static PatchFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
name - the name of the enum constant to be returned.
the enum constant with the specified name
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null