public enum WhiteSpaceProcessing extends Enum<WhiteSpaceProcessing>
White space processing can have functional implications at all stages of diffing, including when loading and formatting.
| Enum Constant and Description |
|---|
COMPARE
White spaces should be preserved throughout the process and compared.
|
IGNORE
All white spaces should be completely ignored, this is the most efficient processing.
|
PRESERVE
White spaces should be preserved, that is they will be loaded and returned during formatting,
but the algorithm can consider them equivalent and will not report differences between white
spaces.
|
| Modifier and Type | Method and Description |
|---|---|
static WhiteSpaceProcessing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WhiteSpaceProcessing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhiteSpaceProcessing IGNORE
public static final WhiteSpaceProcessing PRESERVE
public static final WhiteSpaceProcessing COMPARE
public static WhiteSpaceProcessing[] values()
for (WhiteSpaceProcessing c : WhiteSpaceProcessing.values()) System.out.println(c);
public static WhiteSpaceProcessing valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2007-2022. All Rights Reserved.