Enum Class MIMEType

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

public enum MIMEType extends Enum<MIMEType>
Copyright Stimulsoft
  • Enum Constant Details

    • 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
    • Word

      public static final MIMEType Word
    • 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 Details

    • type

      public final String type
  • Method Details

    • values

      public static MIMEType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MIMEType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • byValue

      public static MIMEType byValue(String value)