com.adobe.icc.dbforms.obj
Class MimeType

java.lang.Object
  extended by java.lang.Enum
      extended by com.adobe.icc.dbforms.obj.MimeType
All Implemented Interfaces:
Serializable, Comparable

public final class MimeType
extends Enum

Enum for various Mime Types (image/jpeg, text/html, etc.).

See Also:
Serialized Form

Field Summary
static MimeType IMAGE_GIF
           
static MimeType IMAGE_JPEG
           
static MimeType IMAGE_PNG
           
static MimeType TEXT_PLAIN
           
static MimeType TEXT_RICH
           
static MimeType TEXT_XML
           
 
Method Summary
 String getMimeType()
           
static MimeType valueOf(String name)
           
static MimeType[] values()
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

IMAGE_JPEG

public static final MimeType IMAGE_JPEG

IMAGE_PNG

public static final MimeType IMAGE_PNG

IMAGE_GIF

public static final MimeType IMAGE_GIF

TEXT_RICH

public static final MimeType TEXT_RICH

TEXT_XML

public static final MimeType TEXT_XML

TEXT_PLAIN

public static final MimeType TEXT_PLAIN
Method Detail

values

public static MimeType[] values()

valueOf

public static MimeType valueOf(String name)

getMimeType

public String getMimeType()
Returns:
the mimeType


[an error occurred while processing this directive] [an error occurred while processing this directive]