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_X_WWW_FORM_URLENCODED_UTF8 =
37          "application/x-www-form-urlencoded; charset=UTF-8";
38  
39      public static final String APPLICATION_ZIP = "application/zip";
40  
41      public static final String HTTPD_UNIX_DIRECTORY = "httpd/unix-directory";
42  
43      public static final String IMAGE_JPEG = "image/jpeg";
44  
45      public static final String MESSAGE_RFC822 = "message/rfc822";
46  
47      public static final String MULTIPART_ALTERNATIVE = "multipart/alternative";
48  
49      public static final String MULTIPART_FORM_DATA = "multipart/form-data";
50  
51      public static final String MULTIPART_MIXED = "multipart/mixed";
52  
53      public static final String TEXT_CALENDAR = "text/calendar";
54  
55      public static final String TEXT_CSS = "text/css";
56  
57      public static final String TEXT_CSS_UTF8 = "text/css; charset=UTF-8";
58  
59      public static final String TEXT_CSV = "text/csv";
60  
61      public static final String TEXT_CSV_UTF8 = "text/csv; charset=UTF-8";
62  
63      public static final String TEXT_HTML = "text/html";
64  
65      public static final String TEXT_HTML_UTF8 = "text/html; charset=UTF-8";
66  
67      public static final String TEXT_JAVASCRIPT = "text/javascript";
68  
69      public static final String TEXT_PLAIN = "text/plain";
70  
71      public static final String TEXT_PLAIN_UTF8 = "text/plain; charset=UTF-8";
72  
73      public static final String TEXT_WML = "text/wml";
74  
75      public static final String TEXT_XML = "text/xml";
76  
77      public static final String TEXT_XML_UTF8 = "text/xml; charset=UTF-8";
78  
79      public static final String XHTML_MP = "application/vnd.wap.xhtml+xml";
80  
81  }