1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portal.kernel.util;
16  
17  /**
18   * <a href="ContentTypes.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface ContentTypes {
23  
24      public static final String APPLICATION_ATOM_XML = "application/atom+xml";
25  
26      public static final String APPLICATION_MSWORD = "application/msword";
27  
28      public static final String APPLICATION_OCTET_STREAM =
29          "application/octet-stream";
30  
31      public static final String APPLICATION_TEXT = "application/text";
32  
33      public static final String APPLICATION_X_WWW_FORM_URLENCODED =
34          "application/x-www-form-urlencoded";
35  
36      public static final String APPLICATION_ZIP = "application/zip";
37  
38      public static final String HTTPD_UNIX_DIRECTORY = "httpd/unix-directory";
39  
40      public static final String IMAGE_JPEG = "image/jpeg";
41  
42      public static final String MESSAGE_RFC822 = "message/rfc822";
43  
44      public static final String MULTIPART_ALTERNATIVE = "multipart/alternative";
45  
46      public static final String MULTIPART_FORM_DATA = "multipart/form-data";
47  
48      public static final String MULTIPART_MIXED = "multipart/mixed";
49  
50      public static final String TEXT_CALENDAR = "text/calendar";
51  
52      public static final String TEXT_CSS = "text/css";
53  
54      public static final String TEXT_CSS_UTF8 = "text/css; charset=UTF-8";
55  
56      public static final String TEXT_CSV = "text/csv";
57  
58      public static final String TEXT_CSV_UTF8 = "text/csv; charset=UTF-8";
59  
60      public static final String TEXT_HTML = "text/html";
61  
62      public static final String TEXT_HTML_UTF8 = "text/html; charset=UTF-8";
63  
64      public static final String TEXT_JAVASCRIPT = "text/javascript";
65  
66      public static final String TEXT_PLAIN = "text/plain";
67  
68      public static final String TEXT_PLAIN_UTF8 = "text/plain; charset=UTF-8";
69  
70      public static final String TEXT_WML = "text/wml";
71  
72      public static final String TEXT_XML = "text/xml";
73  
74      public static final String TEXT_XML_UTF8 = "text/xml; charset=UTF-8";
75  
76      public static final String XHTML_MP = "application/vnd.wap.xhtml+xml";
77  
78  }