/libcore/luni/src/main/java/java/net/ |
ContentHandlerFactory.java | 27 * Creates a content handler to handle {@code contentType}. 29 * @param contentType 34 ContentHandler createContentHandler(String contentType);
|
/external/webkit/Source/WebCore/platform/network/ |
BlobStorageData.h | 42 static PassRefPtr<BlobStorageData> create(const String& contentType, const String& contentDisposition) 44 return adoptRef(new BlobStorageData(contentType, contentDisposition)); 47 const String& contentType() const { return m_data.contentType(); } 54 BlobStorageData(const String& contentType, const String& contentDisposition) 56 m_data.setContentType(contentType);
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
PartBase.java | 45 private String contentType; 57 * @param contentType The content type, or <code>null</code> 61 public PartBase(String name, String contentType, String charSet, String transferEncoding) { 67 this.contentType = contentType; 88 return this.contentType; 122 * @param contentType the content type, or <code>null</code> to exclude the content type header 124 public void setContentType(String contentType) { 125 this.contentType = contentType; [all...] |
/external/webkit/Source/WebCore/xml/ |
DOMParser.cpp | 28 PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType) 30 if (!DOMImplementation::isXMLMIMEType(contentType)) 33 RefPtr<Document> doc = DOMImplementation::createDocument(contentType, 0, KURL(), false);
|
DOMParser.idl | 22 Document parseFromString(in DOMString str, in DOMString contentType);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
ContentTypeParser.java | 48 public ContentTypeParser(String contentType) { 49 super(contentType); 58 ContentType contentType = new ContentType(); 69 contentType.setContentType(type.getTokenValue()); 76 contentType.setContentSubType(subType.getTokenValue()); 77 super.parse(contentType); 83 return contentType;
|
/packages/apps/Mms/src/com/android/mms/model/ |
CarrierContentRestriction.java | 30 import com.google.android.mms.ContentType; 39 sSupportedImageTypes = ContentType.getImageTypes(); 40 sSupportedAudioTypes = ContentType.getAudioTypes(); 41 sSupportedVideoTypes = ContentType.getVideoTypes(); 71 public void checkImageContentType(String contentType) 73 if (null == contentType) { 77 if (!sSupportedImageTypes.contains(contentType)) { 79 + contentType); 83 public void checkAudioContentType(String contentType) 85 if (null == contentType) { [all...] |
ContentRestriction.java | 27 void checkImageContentType(String contentType) throws ContentRestrictionException; 29 void checkAudioContentType(String contentType) throws ContentRestrictionException; 31 void checkVideoContentType(String contentType) throws ContentRestrictionException;
|
/external/webkit/LayoutTests/http/tests/resources/ |
tripmine.php | 37 $contentType = $_SERVER['CONTENT_TYPE']; 51 if (isset($contentType) 52 && !preg_match("/^application\/x\-www\-form\-urlencoded(;.+)?$/", $contentType) 53 && !preg_match("/^multipart\/form\-data(;.+)?$/", $contentType) 54 && !preg_match("/^text\/plain(;.+)?$/", $contentType)) { 55 setState("FAIL. Non-simple content type: $contentType.", $stateFile);
|
/packages/apps/Browser/src/com/android/browser/ |
DataUri.java | 45 String contentType = uri.substring(DATA_URI_PREFIX.length(), 48 if (contentType.contains(BASE_64_ENCODING)) { 51 int semiIndex = contentType.indexOf(';'); 53 mMimeType = contentType.substring(0, semiIndex); 55 mMimeType = contentType;
|
/frameworks/opt/mms/src/java/com/google/android/mms/ |
ContentType.java | 22 public class ContentType { 166 private ContentType() { 169 public static boolean isSupportedType(String contentType) { 170 return (null != contentType) && sSupportedContentTypes.contains(contentType); 173 public static boolean isSupportedImageType(String contentType) { 174 return isImageType(contentType) && isSupportedType(contentType); 177 public static boolean isSupportedAudioType(String contentType) { 178 return isAudioType(contentType) && isSupportedType(contentType) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
ContentInfo.java | 19 private ASN1ObjectIdentifier contentType; 45 contentType = (ASN1ObjectIdentifier)seq.getObjectAt(0); 60 ASN1ObjectIdentifier contentType, 63 this.contentType = contentType; 69 return contentType; 81 * contentType ContentType, 83 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL } 90 v.add(contentType); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
ContentInfo.java | 20 private ASN1ObjectIdentifier contentType; 45 contentType = (ASN1ObjectIdentifier)e.nextElement(); 56 ASN1ObjectIdentifier contentType, 59 this.contentType = contentType; 65 return contentType; 77 * contentType ContentType, 79 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL } 86 v.add(contentType); [all...] |
/external/nist-sip/java/javax/sip/header/ |
ContentTypeHeader.java | 9 void setContentType(String contentType, String contentSubType)
|
MediaType.java | 10 void setContentType(String contentType) throws ParseException;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ContentType.java | 35 * ContentType SIP Header 64 public class ContentType 78 public ContentType() { 83 *@param contentType is the content type. 86 public ContentType(String contentType, String contentSubtype) { 88 this.setContentType(contentType, contentSubtype); 170 *@param contentType Content type string. 173 public void setContentType(String contentType, String contentSubType) { 176 mediaRange.setType(contentType); [all...] |
/external/apache-http/src/org/apache/http/entity/ |
AbstractHttpEntity.java | 59 protected Header contentType; 89 * {@link #contentType contentType} attribute. 94 return this.contentType; 124 * {@link #contentType contentType} attribute. 126 * @param contentType the new Content-Encoding header, or 129 public void setContentType(final Header contentType) { 130 this.contentType = contentType; [all...] |
/external/libxml2/include/libxml/ |
nanohttp.h | 30 char **contentType); 35 char **contentType, 42 char **contentType, 48 char **contentType); 51 char **contentType,
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
importNode16.java | 61 String contentType = getContentType(); 62 preload(contentType, "staffNS", true); 63 preload(contentType, "staffNS", true);
|
importNode17.java | 61 String contentType = getContentType(); 62 preload(contentType, "staffNS", true); 63 preload(contentType, "staffNS", true);
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSURLRequestExtras.h | 40 - (void)_web_setHTTPContentType:(NSString *)contentType;
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
documentgetelementsbytagnamelength.java | 55 String contentType = getContentType(); 56 preload(contentType, "staff", false);
|
elementgetelementsbytagname.java | 56 String contentType = getContentType(); 57 preload(contentType, "staff", false);
|
elementgetelementsbytagnamenomatch.java | 54 String contentType = getContentType(); 55 preload(contentType, "staff", false);
|
hc_documentgetelementsbytagnamelength.java | 54 String contentType = getContentType(); 55 preload(contentType, "hc_staff", false);
|