public enum SyntaxStyle extends Enum<SyntaxStyle>
Enum Constant and Description |
---|
NEW
"New style" syntax (vCard 3.0/4.0 and iCal 2.0).
|
OLD
"Old style" syntax (vCard 2.1 and vCal 1.0).
|
Modifier and Type | Method and Description |
---|---|
static SyntaxStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyntaxStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyntaxStyle OLD
public static final SyntaxStyle NEW
public static SyntaxStyle[] values()
for (SyntaxStyle c : SyntaxStyle.values()) System.out.println(c);
public static SyntaxStyle 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 © 2016–2018 Michael Angstadt. All rights reserved.