public enum PageLanguageCode extends Enum<PageLanguageCode>
Enum Constant and Description |
---|
FILENAME
The language code will be in the filename.
|
NONE
There will be no language code.
|
PATH
The language code will be at the beginning of the path.
|
Modifier and Type | Method and Description |
---|---|
static PageLanguageCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageLanguageCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageLanguageCode FILENAME
public static final PageLanguageCode PATH
public static final PageLanguageCode NONE
public static PageLanguageCode[] values()
for (PageLanguageCode c : PageLanguageCode.values()) System.out.println(c);
public static PageLanguageCode 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 © 2024 Gentics Software. All rights reserved.