com.im.df.api 5.9

com.im.df.api.support
Enum WellKnownMimeTypeXAttributes

java.lang.Object
  extended by java.lang.Enum<WellKnownMimeTypeXAttributes>
      extended by com.im.df.api.support.WellKnownMimeTypeXAttributes
All Implemented Interfaces:
Serializable, Comparable<WellKnownMimeTypeXAttributes>

public enum WellKnownMimeTypeXAttributes
extends Enum<WellKnownMimeTypeXAttributes>

Well known mime-types XAttributes


Enum Constant Summary
APPLICATION_CUSTOM
           
APPLICATION_MSEXCEL
           
APPLICATION_MSWORD
           
APPLICATION_PDF
           
IMAGE
           
IMAGE_BMP
           
IMAGE_EPS
           
IMAGE_GIF
           
IMAGE_JPEG
           
IMAGE_PNG
           
IMAGE_TIFF
           
OPENDOCUMENT_ODF
           
OPENDOCUMENT_ODP
           
OPENDOCUMENT_ODS
           
OPENDOCUMENT_ODT
           
OPENOFFICE_CALC
           
OPENOFFICE_CHART
           
OPENOFFICE_DRAW
           
OPENOFFICE_IMPRESS
           
OPENOFFICE_MATH
           
OPENOFFICE_WRITER
           
TEXT
           
TEXT_HTML
           
TEXT_HTML_XHTML
           
TEXT_PLAIN
           
TEXT_XHTML
           
 
Method Summary
 Set<String> extensions()
           
static String findKeyByDisplayName(String displayName)
           
static String[] getAllDisplayNames()
           
 String getDisplayName()
           
static String getDisplayName(String key)
           
static String[] getDisplayNames()
          Returns only the names of values which have their display attribute set to true.
static String[] getDisplayNames(WellKnownMimeTypeXAttributes[] values)
          Returns only the names of values which have their display attribute set to true.
 String getKey()
           
static WellKnownMimeTypeXAttributes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WellKnownMimeTypeXAttributes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IMAGE

public static final WellKnownMimeTypeXAttributes IMAGE

IMAGE_JPEG

public static final WellKnownMimeTypeXAttributes IMAGE_JPEG

IMAGE_PNG

public static final WellKnownMimeTypeXAttributes IMAGE_PNG

IMAGE_GIF

public static final WellKnownMimeTypeXAttributes IMAGE_GIF

IMAGE_TIFF

public static final WellKnownMimeTypeXAttributes IMAGE_TIFF

IMAGE_BMP

public static final WellKnownMimeTypeXAttributes IMAGE_BMP

IMAGE_EPS

public static final WellKnownMimeTypeXAttributes IMAGE_EPS

TEXT

public static final WellKnownMimeTypeXAttributes TEXT

TEXT_PLAIN

public static final WellKnownMimeTypeXAttributes TEXT_PLAIN

TEXT_HTML_XHTML

public static final WellKnownMimeTypeXAttributes TEXT_HTML_XHTML

TEXT_XHTML

public static final WellKnownMimeTypeXAttributes TEXT_XHTML

TEXT_HTML

public static final WellKnownMimeTypeXAttributes TEXT_HTML

OPENOFFICE_WRITER

public static final WellKnownMimeTypeXAttributes OPENOFFICE_WRITER

OPENOFFICE_CALC

public static final WellKnownMimeTypeXAttributes OPENOFFICE_CALC

OPENOFFICE_IMPRESS

public static final WellKnownMimeTypeXAttributes OPENOFFICE_IMPRESS

OPENOFFICE_DRAW

public static final WellKnownMimeTypeXAttributes OPENOFFICE_DRAW

OPENOFFICE_CHART

public static final WellKnownMimeTypeXAttributes OPENOFFICE_CHART

OPENOFFICE_MATH

public static final WellKnownMimeTypeXAttributes OPENOFFICE_MATH

OPENDOCUMENT_ODT

public static final WellKnownMimeTypeXAttributes OPENDOCUMENT_ODT

OPENDOCUMENT_ODS

public static final WellKnownMimeTypeXAttributes OPENDOCUMENT_ODS

OPENDOCUMENT_ODP

public static final WellKnownMimeTypeXAttributes OPENDOCUMENT_ODP

OPENDOCUMENT_ODF

public static final WellKnownMimeTypeXAttributes OPENDOCUMENT_ODF

APPLICATION_PDF

public static final WellKnownMimeTypeXAttributes APPLICATION_PDF

APPLICATION_MSWORD

public static final WellKnownMimeTypeXAttributes APPLICATION_MSWORD

APPLICATION_MSEXCEL

public static final WellKnownMimeTypeXAttributes APPLICATION_MSEXCEL

APPLICATION_CUSTOM

public static final WellKnownMimeTypeXAttributes APPLICATION_CUSTOM
Method Detail

values

public static WellKnownMimeTypeXAttributes[] 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 (WellKnownMimeTypeXAttributes c : WellKnownMimeTypeXAttributes.values())
    System.out.println(c);

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

valueOf

public static WellKnownMimeTypeXAttributes 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 name
NullPointerException - if the argument is null

getKey

public String getKey()

findKeyByDisplayName

public static String findKeyByDisplayName(String displayName)

getDisplayName

public static String getDisplayName(String key)

getDisplayName

public String getDisplayName()

extensions

public Set<String> extensions()

getAllDisplayNames

public static String[] getAllDisplayNames()

getDisplayNames

public static String[] getDisplayNames()
Returns only the names of values which have their display attribute set to true.

Returns:
array of "displayName" values

getDisplayNames

public static String[] getDisplayNames(WellKnownMimeTypeXAttributes[] values)
Returns only the names of values which have their display attribute set to true.

Returns:
array of "displayName" values

com.im.df.api 5.9