on 10-22-2007 1:20 PM
Hi all,
I want to download several type of files and for each of them I'm specifying the right MIME type with WDWebResourceType. How can I specify the right MIME type for ZIP files???
Thanks
Stefano
Hi
Try out giving WDWebResourceType.UNKNOWN type.
Regards
Akshaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Following are the Types
/** Constant identifying a gif web resource type. */
public static final WDWebResourceType GIF_IMAGE;
/** Constant identifying a jpg web resource type. */
public static final WDWebResourceType JPG_IMAGE;
/** Constant identifying a vml web resource type. */
public static final WDWebResourceType VML;
/** Constant identifying a png web resource type. */
public static final WDWebResourceType PNG;
/** Constant identifying a svg web resource type. */
public static final WDWebResourceType SVG;
/** Constant identifying a Java script web resource type. */
public static final WDWebResourceType JAVA_SCRIPT;
/** Constant identifying an xml web resource type. */
public static final WDWebResourceType XML;
/** Constant identifying a css web resource type. */
public static final WDWebResourceType CSS;
/** Constant identifying a Java web resource type. */
public static final WDWebResourceType JAVA;
/** Constant identifying an applet web resource type. */
public static final WDWebResourceType APPLET;
/** Constant identifying a flash web resource type. */
public static final WDWebResourceType FLASH;
/** Constant identifying a pdf web resource type. */
public static final WDWebResourceType PDF;
/** Constant identifying an html web resource type. */
public static final WDWebResourceType HTML;
/** Constant identifying a Web Dynpro application. */
public static final WDWebResourceType WD_APPLICATION;
/** Constant identifying a xml configuration file. */
public static final WDWebResourceType XML_CONFIGURATION;
/** Constant identifying a txt file. */
public static final WDWebResourceType TXT;
/** Constant identifying unknown file. */
public static final WDWebResourceType UNKNOWN;
/** Constant identifying powerpoints. */
public static final WDWebResourceType PPT;
/** Constant identifying rich text files. */
public static final WDWebResourceType RTF;
/** Constant identifying excel files. */
public static final WDWebResourceType XLS;
/** Constant identifying word files. */
public static final WDWebResourceType DOC;
/** Constant identifying post script files. */
public static final WDWebResourceType PS;
So i think u need to use the UNKNOWN.
Regards
Ayyapparaj
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.