1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
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  }