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