SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework.schema.config
Enum MimeTypeAttributeType

java.lang.Object
  extended by java.lang.Enum<MimeTypeAttributeType>
      extended by org.eclipse.smila.connectivity.framework.schema.config.MimeTypeAttributeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MimeTypeAttributeType>

public enum MimeTypeAttributeType
extends java.lang.Enum<MimeTypeAttributeType>

The Enum MimeTypeAttributeType.


Enum Constant Summary
CONTENT
          The CONTENT.
FILE_EXTENSION
          The file extension.
MIME_TYPE
          The MIME type.
 
Method Summary
static MimeTypeAttributeType fromValue(java.lang.String v)
          From value.
static java.lang.String toValue(MimeTypeAttributeType t)
           
 java.lang.String value()
          Value.
static MimeTypeAttributeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MimeTypeAttributeType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FILE_EXTENSION

public static final MimeTypeAttributeType FILE_EXTENSION
The file extension.


CONTENT

public static final MimeTypeAttributeType CONTENT
The CONTENT.


MIME_TYPE

public static final MimeTypeAttributeType MIME_TYPE
The MIME type.

Method Detail

values

public static final MimeTypeAttributeType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MimeTypeAttributeType c : MimeTypeAttributeType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MimeTypeAttributeType 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 name

value

public java.lang.String value()
Value.

Returns:
the string

fromValue

public static MimeTypeAttributeType fromValue(java.lang.String v)
From value.

Parameters:
v - the v
Returns:
the mime type attribute type

toValue

public static java.lang.String toValue(MimeTypeAttributeType t)
Parameters:
t - the t
Returns:
the string

SMILA (incubation) API documentation