/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMTestIncompatibleException.java | 62 String contentType) { 67 buf.append(contentType); 61 incompatibleLoad(String href, String contentType) argument
|
H A D | DOMTest.java | 132 public String getResourceURI(String href, String scheme, String contentType) throws argument 145 if ("application/pdf".equals(contentType)) { 214 public void preload(String contentType, String docURI, boolean willBeModified) throws argument 216 if ("text/html".equals(contentType) || 217 "application/xhtml+xml".equals(contentType)) { 219 throw DOMTestIncompatibleException.incompatibleLoad(docURI, contentType);
|
/libcore/ojluni/src/main/java/sun/net/ |
H A D | ProgressEvent.java | 40 private String contentType; field in class:ProgressEvent 53 public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSource.State state, long progress, long expected) { argument 57 this.contentType = contentType; 84 return contentType; 111 + ", content-type=" + contentType + ", progress=" + progress + ", expected=" + expected + "]";
|
H A D | ProgressSource.java | 43 private String contentType; field in class:ProgressSource 72 this.contentType = "content/unknown"; 115 return contentType; 120 contentType = ct; 208 + ", content-type=" + contentType + ", progress=" + progress + ", expected=" + expected + "]";
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | DOMTestCase.java | 40 public void preload(String contentType, String docURI, argument 42 if ("text/html".equals(contentType) 43 || "application/xhtml+xml".equals(contentType)) {
|
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | URLConnection.java | 46 private String contentType; field in class:URLConnection 148 if (contentType == null) 149 contentType = getHeaderField("content-type"); 150 if (contentType == null) { 183 return contentType; 194 contentType = type;
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
H A D | FileURLConnection.java | 55 String contentType; field in class:FileURLConnection 120 contentType = map.getContentTypeFor(filename); 121 if (contentType != null) { 122 properties.add(CONTENT_TYPE, contentType);
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | ContentInfo.java | 86 ObjectIdentifier contentType; field in class:ContentInfo 89 public ContentInfo(ObjectIdentifier contentType, DerValue content) { argument 90 this.contentType = contentType; 99 this.contentType = DATA_OID; 137 contentType = disType.getOID(); 162 return contentType; 166 if (contentType.equals((Object)DATA_OID) || 167 contentType.equals((Object)OLD_DATA_OID) || 168 contentType [all...] |
H A D | PKCS7.java | 66 private ObjectIdentifier contentType; field in class:PKCS7 194 contentType = contentInfo.contentType; 197 if (contentType.equals((Object)ContentInfo.SIGNED_DATA_OID)) { 199 } else if (contentType.equals((Object)ContentInfo.OLD_SIGNED_DATA_OID)) { 202 } else if (contentType.equals((Object) 206 throw new ParsingException("content type " + contentType +
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
H A D | JarURLConnection.java | 77 private String contentType; field in class:JarURLConnection 203 if (contentType == null) { 205 contentType = "x-java/jar"; 210 contentType = guessContentTypeFromStream( 217 if (contentType == null) { 218 contentType = guessContentTypeFromName(entryName); 220 if (contentType == null) { 221 contentType = "content/unknown"; 224 return contentType;
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_TestWebServer.java | 95 * @param contentType the type of the dynamic web test data 97 public int initServer(String servePath, String contentType) throws Exception { argument 98 Support_TestWebData.initDynamicTestWebData(servePath, contentType);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | URLConnection.java | 698 * sun.net.www.content.<<i>contentType</i>> 700 * where <<i>contentType</i>> is formed by taking the 1227 String contentType = stripOffParameters(getContentType()); 1229 if (contentType == null) { 1230 if ((contentType = guessContentTypeFromName(url.getFile())) == null) { 1231 contentType = guessContentTypeFromStream(getInputStream()); 1235 if (contentType == null) { 1239 handler = handlers.get(contentType); 1246 handler = factory.createContentHandler(contentType); 1249 handler = lookupContentHandlerClassFor(contentType); 1264 stripOffParameters(String contentType) argument 1291 lookupContentHandlerClassFor(String contentType) argument 1331 typeToPackageName(String contentType) argument [all...] |