Package com.avpkit.core
Enum IMetaData.Flags
- java.lang.Object
-
- java.lang.Enum<IMetaData.Flags>
-
- com.avpkit.core.IMetaData.Flags
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IMetaData.Flags>
- Enclosing class:
- IMetaData
public static enum IMetaData.Flags extends java.lang.Enum<IMetaData.Flags>
Different types of flags that can be passed to {IMetaData#getValue}
-
-
Enum Constant Summary
Enum Constants Enum Constant Description META_DATA_APPENDFor {#setValue(String,String,Flags)} append to the existing value in a key (string append).METADATA_DONT_OVERWRITEFor {#setValue(String,String,Flags)} do not overwrite existing value -- append another key/value pair.METADATA_MATCH_CASEFor {#getValue(String)} case-sensitive match of key.METADATA_NONEFor {#getValue(String)} case-insensitive match of key.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IMetaData.FlagsswigToEnum(int swigValue)intswigValue()static IMetaData.FlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IMetaData.Flags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METADATA_NONE
public static final IMetaData.Flags METADATA_NONE
For {#getValue(String)} case-insensitive match of key.
-
METADATA_MATCH_CASE
public static final IMetaData.Flags METADATA_MATCH_CASE
For {#getValue(String)} case-sensitive match of key.
-
METADATA_DONT_OVERWRITE
public static final IMetaData.Flags METADATA_DONT_OVERWRITE
For {#setValue(String,String,Flags)} do not overwrite existing value -- append another key/value pair.
-
META_DATA_APPEND
public static final IMetaData.Flags META_DATA_APPEND
For {#setValue(String,String,Flags)} append to the existing value in a key (string append).
-
-
Method Detail
-
values
public static IMetaData.Flags[] 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 (IMetaData.Flags c : IMetaData.Flags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IMetaData.Flags valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
swigValue
public final int swigValue()
-
swigToEnum
public static IMetaData.Flags swigToEnum(int swigValue)
-
-