summaryrefslogtreecommitdiffstats
path: root/src/com/android/messaging/mmslib/pdu/PduContentTypes.java
blob: f2cebf1a7b54f6b594cea3dbbb008ea36138e1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*
 * Copyright (C) 2007 Esmertec AG.
 * Copyright (C) 2007 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.android.messaging.mmslib.pdu;

public class PduContentTypes {
    /**
     * All content types. From:
     * http://www.openmobilealliance.org/tech/omna/omna-wsp-content-type.htm
     */
    static final String[] contentTypes = {
            "*/*",                                        /* 0x00 */
            "text/*",                                     /* 0x01 */
            "text/html",                                  /* 0x02 */
            "text/plain",                                 /* 0x03 */
            "text/x-hdml",                                /* 0x04 */
            "text/x-ttml",                                /* 0x05 */
            "text/x-vCalendar",                           /* 0x06 */
            "text/x-vCard",                               /* 0x07 */
            "text/vnd.wap.wml",                           /* 0x08 */
            "text/vnd.wap.wmlscript",                     /* 0x09 */
            "text/vnd.wap.wta-event",                     /* 0x0A */
            "multipart/*",                                /* 0x0B */
            "multipart/mixed",                            /* 0x0C */
            "multipart/form-data",                        /* 0x0D */
            "multipart/byterantes",                       /* 0x0E */
            "multipart/alternative",                      /* 0x0F */
            "application/*",                              /* 0x10 */
            "application/java-vm",                        /* 0x11 */
            "application/x-www-form-urlencoded",          /* 0x12 */
            "application/x-hdmlc",                        /* 0x13 */
            "application/vnd.wap.wmlc",                   /* 0x14 */
            "application/vnd.wap.wmlscriptc",             /* 0x15 */
            "application/vnd.wap.wta-eventc",             /* 0x16 */
            "application/vnd.wap.uaprof",                 /* 0x17 */
            "application/vnd.wap.wtls-ca-certificate",    /* 0x18 */
            "application/vnd.wap.wtls-user-certificate",  /* 0x19 */
            "application/x-x509-ca-cert",                 /* 0x1A */
            "application/x-x509-user-cert",               /* 0x1B */
            "image/*",                                    /* 0x1C */
            "image/gif",                                  /* 0x1D */
            "image/jpeg",                                 /* 0x1E */
            "image/tiff",                                 /* 0x1F */
            "image/png",                                  /* 0x20 */
            "image/vnd.wap.wbmp",                         /* 0x21 */
            "application/vnd.wap.multipart.*",            /* 0x22 */
            "application/vnd.wap.multipart.mixed",        /* 0x23 */
            "application/vnd.wap.multipart.form-data",    /* 0x24 */
            "application/vnd.wap.multipart.byteranges",   /* 0x25 */
            "application/vnd.wap.multipart.alternative",  /* 0x26 */
            "application/xml",                            /* 0x27 */
            "text/xml",                                   /* 0x28 */
            "application/vnd.wap.wbxml",                  /* 0x29 */
            "application/x-x968-cross-cert",              /* 0x2A */
            "application/x-x968-ca-cert",                 /* 0x2B */
            "application/x-x968-user-cert",               /* 0x2C */
            "text/vnd.wap.si",                            /* 0x2D */
            "application/vnd.wap.sic",                    /* 0x2E */
            "text/vnd.wap.sl",                            /* 0x2F */
            "application/vnd.wap.slc",                    /* 0x30 */
            "text/vnd.wap.co",                            /* 0x31 */
            "application/vnd.wap.coc",                    /* 0x32 */
            "application/vnd.wap.multipart.related",      /* 0x33 */
            "application/vnd.wap.sia",                    /* 0x34 */
            "text/vnd.wap.connectivity-xml",              /* 0x35 */
            "application/vnd.wap.connectivity-wbxml",     /* 0x36 */
            "application/pkcs7-mime",                     /* 0x37 */
            "application/vnd.wap.hashed-certificate",     /* 0x38 */
            "application/vnd.wap.signed-certificate",     /* 0x39 */
            "application/vnd.wap.cert-response",          /* 0x3A */
            "application/xhtml+xml",                      /* 0x3B */
            "application/wml+xml",                        /* 0x3C */
            "text/css",                                   /* 0x3D */
            "application/vnd.wap.mms-message",            /* 0x3E */
            "application/vnd.wap.rollover-certificate",   /* 0x3F */
            "application/vnd.wap.locc+wbxml",             /* 0x40 */
            "application/vnd.wap.loc+xml",                /* 0x41 */
            "application/vnd.syncml.dm+wbxml",            /* 0x42 */
            "application/vnd.syncml.dm+xml",              /* 0x43 */
            "application/vnd.syncml.notification",        /* 0x44 */
            "application/vnd.wap.xhtml+xml",              /* 0x45 */
            "application/vnd.wv.csp.cir",                 /* 0x46 */
            "application/vnd.oma.dd+xml",                 /* 0x47 */
            "application/vnd.oma.drm.message",            /* 0x48 */
            "application/vnd.oma.drm.content",            /* 0x49 */
            "application/vnd.oma.drm.rights+xml",         /* 0x4A */
            "application/vnd.oma.drm.rights+wbxml",       /* 0x4B */
            "application/vnd.wv.csp+xml",                 /* 0x4C */
            "application/vnd.wv.csp+wbxml",               /* 0x4D */
            "application/vnd.syncml.ds.notification",     /* 0x4E */
            "audio/*",                                    /* 0x4F */
            "video/*",                                    /* 0x50 */
            "application/vnd.oma.dd2+xml",                /* 0x51 */
            "application/mikey"                           /* 0x52 */
    };
}