ca.infoway.messagebuilder.j5goodies
Class MimeTypes

Package class diagram package MimeTypes
java.lang.Object
  extended by ca.infoway.messagebuilder.j5goodies.MimeTypes

public class MimeTypes
extends Object

This class encapsulates some knowledges about various common Mime types used in web applications and other places. It includes, for example, constants for Mime Types such as XML ("text/xml") or Microsoft Excel ("application/vnd.ms-excel"). The intention is to hold these in one spot.

Author:
Intelliware Development

Field Summary
static String HTML
          The MIME type for HTML documents.
static String IMAGE_PNG
          The MIME type for PNG images.
static String JSON
          The MIME type for JSON documents.
static String MICROSOFT_EXCEL
          The MIME type for Microsoft Excel spreadsheets.
static String MICROSOFT_POWERPOINT
          The MIME type for Microsoft PowerPoint documents.
static String MICROSOFT_WORD
          The MIME type for Microsoft Word documents.
static String PDF
          The MIME type for PDF documents.
static String PLAIN_TEXT
          The MIME type for plain text.
static String VCARD
          The MIME type for VCard attachments.
static String XML
          The MIME type for XML documents.
 
Constructor Summary
MimeTypes()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMAGE_PNG

public static final String IMAGE_PNG

The MIME type for PNG images.

See Also:
Constant Field Values

HTML

public static final String HTML

The MIME type for HTML documents.

See Also:
Constant Field Values

XML

public static final String XML

The MIME type for XML documents.

See Also:
Constant Field Values

JSON

public static final String JSON

The MIME type for JSON documents.

See Also:
Constant Field Values

VCARD

public static final String VCARD

The MIME type for VCard attachments.

See Also:
Constant Field Values

PLAIN_TEXT

public static final String PLAIN_TEXT

The MIME type for plain text.

See Also:
Constant Field Values

PDF

public static final String PDF

The MIME type for PDF documents.

See Also:
Constant Field Values

MICROSOFT_POWERPOINT

public static final String MICROSOFT_POWERPOINT

The MIME type for Microsoft PowerPoint documents.

See Also:
Constant Field Values

MICROSOFT_WORD

public static final String MICROSOFT_WORD

The MIME type for Microsoft Word documents.

See Also:
Constant Field Values

MICROSOFT_EXCEL

public static final String MICROSOFT_EXCEL

The MIME type for Microsoft Excel spreadsheets.

See Also:
Constant Field Values
Constructor Detail

MimeTypes

public MimeTypes()


Copyright © 2013. All Rights Reserved.