001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.kernel.util;
016    
017    /**
018     * @author Brian Wing Shun Chan
019     */
020    public interface ContentTypes {
021    
022            public static final String APPLICATION_ATOM_XML = "application/atom+xml";
023    
024            public static final String APPLICATION_MSWORD = "application/msword";
025    
026            public static final String APPLICATION_OCTET_STREAM =
027                    "application/octet-stream";
028    
029            public static final String APPLICATION_TEXT = "application/text";
030    
031            public static final String APPLICATION_X_WWW_FORM_URLENCODED =
032                    "application/x-www-form-urlencoded";
033    
034            public static final String APPLICATION_X_WWW_FORM_URLENCODED_UTF8 =
035                    "application/x-www-form-urlencoded; charset=UTF-8";
036    
037            public static final String APPLICATION_ZIP = "application/zip";
038    
039            public static final String HTTPD_UNIX_DIRECTORY = "httpd/unix-directory";
040    
041            public static final String IMAGE_JPEG = "image/jpeg";
042    
043            public static final String MESSAGE_RFC822 = "message/rfc822";
044    
045            public static final String MULTIPART_ALTERNATIVE = "multipart/alternative";
046    
047            public static final String MULTIPART_FORM_DATA = "multipart/form-data";
048    
049            public static final String MULTIPART_MIXED = "multipart/mixed";
050    
051            public static final String TEXT_CALENDAR = "text/calendar";
052    
053            public static final String TEXT_CSS = "text/css";
054    
055            public static final String TEXT_CSS_UTF8 = "text/css; charset=UTF-8";
056    
057            public static final String TEXT_CSV = "text/csv";
058    
059            public static final String TEXT_CSV_UTF8 = "text/csv; charset=UTF-8";
060    
061            public static final String TEXT_HTML = "text/html";
062    
063            public static final String TEXT_HTML_UTF8 = "text/html; charset=UTF-8";
064    
065            public static final String TEXT_JAVASCRIPT = "text/javascript";
066    
067            public static final String TEXT_PLAIN = "text/plain";
068    
069            public static final String TEXT_PLAIN_UTF8 = "text/plain; charset=UTF-8";
070    
071            public static final String TEXT_WML = "text/wml";
072    
073            public static final String TEXT_XML = "text/xml";
074    
075            public static final String TEXT_XML_UTF8 = "text/xml; charset=UTF-8";
076    
077            public static final String XHTML_MP = "application/vnd.wap.xhtml+xml";
078    
079    }