Enum DiffOutputFormat
- java.lang.Object
-
- java.lang.Enum<DiffOutputFormat>
-
- org.uberfire.ext.widgets.common.client.diff2html.DiffOutputFormat
-
- All Implemented Interfaces:
Serializable,Comparable<DiffOutputFormat>
public enum DiffOutputFormat extends Enum<DiffOutputFormat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINE_BY_LINESIDE_BY_SIDE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static DiffOutputFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static DiffOutputFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIDE_BY_SIDE
public static final DiffOutputFormat SIDE_BY_SIDE
-
LINE_BY_LINE
public static final DiffOutputFormat LINE_BY_LINE
-
-
Method Detail
-
values
public static DiffOutputFormat[] values()
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 (DiffOutputFormat c : DiffOutputFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiffOutputFormat valueOf(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 not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<DiffOutputFormat>
-
-