com.stimulsoft.base.system
Enum MIMEType

java.lang.Object
  extended by java.lang.Enum<MIMEType>
      extended by com.stimulsoft.base.system.MIMEType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MIMEType>

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

Набор MIME-типов используемых в приложении. Copyright Stimulsoft


Enum Constant Summary
csv
           
doc
           
excel
           
flash
           
html
           
javascript
           
pdf
           
rtf
           
text
           
word2007
           
xls
           
xml
           
 
Field Summary
 java.lang.String type
          Тип.
 
Method Summary
static MIMEType byValue(java.lang.String value)
           
static MIMEType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MIMEType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

html

public static final MIMEType html

flash

public static final MIMEType flash

javascript

public static final MIMEType javascript

xml

public static final MIMEType xml

text

public static final MIMEType text

rtf

public static final MIMEType rtf

doc

public static final MIMEType doc

word2007

public static final MIMEType word2007

xls

public static final MIMEType xls

excel

public static final MIMEType excel

csv

public static final MIMEType csv

pdf

public static final MIMEType pdf
Field Detail

type

public final java.lang.String type
Тип.

Method Detail

values

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

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

valueOf

public static MIMEType 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
java.lang.NullPointerException - if the argument is null

byValue

public static MIMEType byValue(java.lang.String value)