Enum Class MIME

java.lang.Object
java.lang.Enum<MIME>
com.saperion.constants.mime.MIME
All Implemented Interfaces:
Serializable, Comparable<MIME>, Constable

public enum MIME extends Enum<MIME>
Enum MIME.
Defines the different document mime types like text/rtf, application/pdf and image/gif.
  • Enum Constant Details

    • APP_WORD

      public static final MIME APP_WORD
    • APP_VND_WORD

      public static final MIME APP_VND_WORD
    • APP_RTF

      public static final MIME APP_RTF
    • APP_PPT

      public static final MIME APP_PPT
    • APP_VND_PPT

      public static final MIME APP_VND_PPT
    • APP_VND_PPTX

      public static final MIME APP_VND_PPTX
    • APP_VND_XLS

      public static final MIME APP_VND_XLS
    • APP_XLS

      public static final MIME APP_XLS
    • APP_VND_XLSX

      public static final MIME APP_VND_XLSX
    • TEXT_RTF

      public static final MIME TEXT_RTF
    • APP_PDF

      public static final MIME APP_PDF
    • APP_EML

      public static final MIME APP_EML
    • APP_OUTLOOK

      public static final MIME APP_OUTLOOK
    • APP_VND_OUTLOOK

      public static final MIME APP_VND_OUTLOOK
    • TEXT_PLAIN

      public static final MIME TEXT_PLAIN
    • IMAGE_TIFF

      public static final MIME IMAGE_TIFF
    • IMAGE_GIF

      public static final MIME IMAGE_GIF
    • IMAGE_BMP

      public static final MIME IMAGE_BMP
    • IMAGE_PNG

      public static final MIME IMAGE_PNG
    • IMAGE_JPEG

      public static final MIME IMAGE_JPEG
  • Method Details

    • values

      public static MIME[] 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 MIME 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
    • getMime

      public String getMime()