Package com.healthmarketscience.jackcess
Enum PropertyMap.TextFormat
- java.lang.Object
-
- java.lang.Enum<PropertyMap.TextFormat>
-
- com.healthmarketscience.jackcess.PropertyMap.TextFormat
-
- All Implemented Interfaces:
PropertyMap.EnumValue,Serializable,Comparable<PropertyMap.TextFormat>
- Enclosing interface:
- PropertyMap
public static enum PropertyMap.TextFormat extends Enum<PropertyMap.TextFormat> implements PropertyMap.EnumValue
Enum value constants for the TextFormat property
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTMLRICHTEXTPLAIN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BytegetValue()StringtoString()static PropertyMap.TextFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyMap.TextFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTMLRICHTEXT
public static final PropertyMap.TextFormat HTMLRICHTEXT
-
PLAIN
public static final PropertyMap.TextFormat PLAIN
-
-
Method Detail
-
values
public static PropertyMap.TextFormat[] 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 (PropertyMap.TextFormat c : PropertyMap.TextFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyMap.TextFormat 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
-
getValue
public Byte getValue()
- Specified by:
getValuein interfacePropertyMap.EnumValue- Returns:
- the property value which should be stored in the db
-
toString
public String toString()
- Overrides:
toStringin classEnum<PropertyMap.TextFormat>
-
-