1d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd/*
2d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * Copyright (C) 2007 Esmertec AG.
3d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * Copyright (C) 2007 The Android Open Source Project
4d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd *
5d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * Licensed under the Apache License, Version 2.0 (the "License");
6d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * you may not use this file except in compliance with the License.
7d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * You may obtain a copy of the License at
8d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd *
9d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd *      http://www.apache.org/licenses/LICENSE-2.0
10d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd *
11d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * Unless required by applicable law or agreed to in writing, software
12d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * distributed under the License is distributed on an "AS IS" BASIS,
13d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * See the License for the specific language governing permissions and
15d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd * limitations under the License.
16d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd */
17d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd
18d3b009ae55651f1e60950342468e3c37fdeb0796Mike Doddpackage com.android.messaging.mmslib.pdu;
19d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd
20d3b009ae55651f1e60950342468e3c37fdeb0796Mike Doddpublic class PduContentTypes {
21d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd    /**
22d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd     * All content types. From:
23d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd     * http://www.openmobilealliance.org/tech/omna/omna-wsp-content-type.htm
24d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd     */
25d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd    static final String[] contentTypes = {
26d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "*/*",                                        /* 0x00 */
27d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/*",                                     /* 0x01 */
28d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/html",                                  /* 0x02 */
29d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/plain",                                 /* 0x03 */
30d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/x-hdml",                                /* 0x04 */
31d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/x-ttml",                                /* 0x05 */
32d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/x-vCalendar",                           /* 0x06 */
33d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/x-vCard",                               /* 0x07 */
34d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/vnd.wap.wml",                           /* 0x08 */
35d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/vnd.wap.wmlscript",                     /* 0x09 */
36d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/vnd.wap.wta-event",                     /* 0x0A */
37d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "multipart/*",                                /* 0x0B */
38d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "multipart/mixed",                            /* 0x0C */
39d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "multipart/form-data",                        /* 0x0D */
40d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "multipart/byterantes",                       /* 0x0E */
41d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "multipart/alternative",                      /* 0x0F */
42d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/*",                              /* 0x10 */
43d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/java-vm",                        /* 0x11 */
44d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/x-www-form-urlencoded",          /* 0x12 */
45d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/x-hdmlc",                        /* 0x13 */
46d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.wmlc",                   /* 0x14 */
47d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.wmlscriptc",             /* 0x15 */
48d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.wta-eventc",             /* 0x16 */
49d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.uaprof",                 /* 0x17 */
50d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.wtls-ca-certificate",    /* 0x18 */
51d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.wtls-user-certificate",  /* 0x19 */
52d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/x-x509-ca-cert",                 /* 0x1A */
53d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/x-x509-user-cert",               /* 0x1B */
54d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "image/*",                                    /* 0x1C */
55d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "image/gif",                                  /* 0x1D */
56d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "image/jpeg",                                 /* 0x1E */
57d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "image/tiff",                                 /* 0x1F */
58d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "image/png",                                  /* 0x20 */
59d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "image/vnd.wap.wbmp",                         /* 0x21 */
60d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.multipart.*",            /* 0x22 */
61d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.multipart.mixed",        /* 0x23 */
62d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.multipart.form-data",    /* 0x24 */
63d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.multipart.byteranges",   /* 0x25 */
64d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.multipart.alternative",  /* 0x26 */
65d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/xml",                            /* 0x27 */
66d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/xml",                                   /* 0x28 */
67d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.wbxml",                  /* 0x29 */
68d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/x-x968-cross-cert",              /* 0x2A */
69d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/x-x968-ca-cert",                 /* 0x2B */
70d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/x-x968-user-cert",               /* 0x2C */
71d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/vnd.wap.si",                            /* 0x2D */
72d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.sic",                    /* 0x2E */
73d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/vnd.wap.sl",                            /* 0x2F */
74d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.slc",                    /* 0x30 */
75d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/vnd.wap.co",                            /* 0x31 */
76d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.coc",                    /* 0x32 */
77d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.multipart.related",      /* 0x33 */
78d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.sia",                    /* 0x34 */
79d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/vnd.wap.connectivity-xml",              /* 0x35 */
80d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.connectivity-wbxml",     /* 0x36 */
81d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/pkcs7-mime",                     /* 0x37 */
82d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.hashed-certificate",     /* 0x38 */
83d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.signed-certificate",     /* 0x39 */
84d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.cert-response",          /* 0x3A */
85d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/xhtml+xml",                      /* 0x3B */
86d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/wml+xml",                        /* 0x3C */
87d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "text/css",                                   /* 0x3D */
88d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.mms-message",            /* 0x3E */
89d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.rollover-certificate",   /* 0x3F */
90d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.locc+wbxml",             /* 0x40 */
91d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.loc+xml",                /* 0x41 */
92d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.syncml.dm+wbxml",            /* 0x42 */
93d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.syncml.dm+xml",              /* 0x43 */
94d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.syncml.notification",        /* 0x44 */
95d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wap.xhtml+xml",              /* 0x45 */
96d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wv.csp.cir",                 /* 0x46 */
97d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.oma.dd+xml",                 /* 0x47 */
98d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.oma.drm.message",            /* 0x48 */
99d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.oma.drm.content",            /* 0x49 */
100d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.oma.drm.rights+xml",         /* 0x4A */
101d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.oma.drm.rights+wbxml",       /* 0x4B */
102d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wv.csp+xml",                 /* 0x4C */
103d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.wv.csp+wbxml",               /* 0x4D */
104d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.syncml.ds.notification",     /* 0x4E */
105d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "audio/*",                                    /* 0x4F */
106d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "video/*",                                    /* 0x50 */
107d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/vnd.oma.dd2+xml",                /* 0x51 */
108d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd            "application/mikey"                           /* 0x52 */
109d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd    };
110d3b009ae55651f1e60950342468e3c37fdeb0796Mike Dodd}
111