Home | History | Annotate | Download | only in browser

Lines Matching refs:mimeType

36  * we can analyse the mimetype and make any correction needed before we give
39 * completion of checking the mimetype, we can issue the download to
42 * we don't know the mimetype. If the user just clicks on the link, we will
43 * do the same steps of correcting the mimetype down in
83 String mimeType = null;
88 // the server sends the right mimetype
92 mimeType = header.getValue();
93 final int semicolonIndex = mimeType.indexOf(';');
95 mimeType = mimeType.substring(0, semicolonIndex);
107 return mimeType;
111 public void onPostExecute(String mimeType) {
112 if (mimeType != null) {
114 if (mimeType.equalsIgnoreCase("text/plain") ||
115 mimeType.equalsIgnoreCase("application/octet-stream")) {
124 null, mimeType);