public enum PropertyType extends java.lang.Enum<PropertyType>
| Enum Constant and Description |
|---|
FILE
This property is a file.
|
LOCALE_COUNTRY
This property is a string represents an ISO 3166 2-letter code.
|
LOCALE_LANGUAGE
This property is a string represents an ISO 639 code.
|
PATTERN
This property is a regular expression pattern.
|
STRING
This property is a string.
|
TOKEN_ARRAY
This property is a set of tokens.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
description
The human-readable property description.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns the human-readable property description.
|
static PropertyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType FILE
public static final PropertyType LOCALE_COUNTRY
public static final PropertyType LOCALE_LANGUAGE
public static final PropertyType PATTERN
public static final PropertyType STRING
public static final PropertyType TOKEN_ARRAY
private final java.lang.String description
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getDescription()
Copyright © 2001-2022. All Rights Reserved.