/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URLTest.java | 74 "/dir1/dir2/test.cgi?point1.html", u.getFile()); in test_ConstructorLjava_lang_String() 82 assertTrue("u1 returns a wrong file", u1.getFile().equals("")); in test_ConstructorLjava_lang_String() 92 "/dir1/dir2/test.cgi?point1.html", u2.getFile()); in test_ConstructorLjava_lang_String() 102 .getFile()); in test_ConstructorLjava_lang_String() 110 assertEquals("u3 returns a wrong file", "/", u3.getFile()); in test_ConstructorLjava_lang_String() 119 assertEquals("u3a returns a wrong file", "/", u3a.getFile()); in test_ConstructorLjava_lang_String() 128 assertTrue("u3b returns a wrong file", u3b.getFile().equals("")); in test_ConstructorLjava_lang_String() 138 "/di!@$%^&*()_+r1/di:::r2/test.cgi?point1.html", u4.getFile()); in test_ConstructorLjava_lang_String() 145 assertEquals("u5 returns a wrong file", "/testing.tst", u5.getFile()); in test_ConstructorLjava_lang_String() 152 assertEquals("u5a returns a wrong file", "testing.tst", u5a.getFile()); in test_ConstructorLjava_lang_String() [all …]
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLTest.java | 52 assertEquals("/directory/file?query", url.getFile()); in testUrlParts() 265 url.getFile())); in assertFields() 299 assertEquals("/path", url.getFile()); in testOmittedHost() 311 assertEquals("/path", url.getFile()); in testNoHost() 320 assertEquals("", url.getFile()); in testNoPath() 332 assertEquals("", url.getFile()); in testEmptyHostAndNoPath() 346 assertEquals("", url.getFile()); in testNoHostAndNoPath() 401 assertEquals("/path", url.getFile()); in testPathOnly() 407 assertEquals("?query", url.getFile()); in testQueryOnly() 414 assertEquals("", url.getFile()); in testFragmentOnly() [all …]
|
D | OldURLTest.java | 73 assertEquals("Assert 3: wrong file", "/test.html", testURL.getFile()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 424 assertEquals(sampleFile.getPath(),fileURL.getFile()); in testGetFile() 661 assertEquals("SSISH1 returns a wrong file", "/test.html", u.getFile()); in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler() 671 assertEquals("SSISH2 returns a wrong file", "/test.html", u.getFile()); in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler() 735 assertEquals("1 returns a wrong file", "/file.java", u1.getFile()); in testURLURLStringURLStreamHandler() 744 .getFile()); in testURLURLStringURLStreamHandler() 751 assertEquals("3 returns a wrong file", "/dir1/file.java", u1.getFile()); in testURLURLStringURLStreamHandler() 759 assertTrue("A) returns a wrong file: " + u1.getFile(), u1.getFile() in testURLURLStringURLStreamHandler() 765 u1.getFile()); in testURLURLStringURLStreamHandler()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FileAlreadyExistsExceptionTest.java | 29 assertEquals("file", exception.getFile()); in test_constructor$String() 39 assertEquals("file", exception.getFile()); in test_constructor$String$String$String() 85 assertEquals("file", exception.getFile()); in test_serialization()
|
D | NotLinkExceptionTest.java | 29 assertEquals("file", exception.getFile()); in test_constructor$String() 38 assertEquals("file", exception.getFile()); in test_constructor$String$String$String() 81 assertEquals("file", exception.getFile()); in test_serialization()
|
D | NoSuchFileExceptionTest.java | 29 assertEquals("file", exception.getFile()); in test_constructor$String() 38 assertEquals("file", exception.getFile()); in test_constructor$String$String$String() 83 assertEquals("file", exception.getFile()); in test_serialization()
|
D | AccessDeniedExceptionTest.java | 30 assertEquals("file", exception.getFile()); in test_constructor$String() 39 assertEquals("file", exception.getFile()); in test_constructor$String$String$String() 84 assertEquals("file", exception.getFile()); in test_serialization()
|
D | FileSystemExceptionTest.java | 29 assertEquals("file", exception.getFile()); in test_constructor$String() 37 assertEquals("file", exception.getFile()); in test_constructor$String$String$String() 82 assertEquals("file", exception.getFile()); in test_serialization()
|
D | FileSystemLoopExceptionTest.java | 30 assertEquals("file", exception.getFile()); in test_constructor$String() 73 assertEquals("file", exception.getFile()); in test_serialization()
|
D | NotDirectoryExceptionTest.java | 29 assertEquals("file", exception.getFile()); in test_constructor$String() 75 assertEquals("file", exception.getFile()); in test_serialization()
|
D | DirectoryNotEmptyExceptionTest.java | 30 assertEquals("file", exception.getFile()); in test_constructor$String() 76 assertEquals("file", exception.getFile()); in test_serialization()
|
D | AtomicMoveNotSupportedExceptionTest.java | 31 assertEquals("source", exception.getFile()); in test_constructor$String$String$String() 78 assertEquals("source", exception.getFile()); in test_serialization()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | Handler.java | 65 String file1 = u1.getFile(); in sameFile() 66 String file2 = u2.getFile(); in sameFile() 103 String file = u.getFile(); in hashCode() 137 file = url.getFile(); in parseURL() 185 String ctxFile = url.getFile(); in parseContextSpec()
|
D | URLJarFile.java | 94 super(ParseUtil.decode(url.getFile())); in URLJarFile()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLStreamHandler.java | 417 u.getFile(), in hashCode() 441 if (!(u1.getFile() == u2.getFile() || in sameFile() 442 (u1.getFile() != null && u1.getFile().equals(u2.getFile())))) in sameFile() 534 String fileAndQuery = u.getFile(); in toExternalForm()
|
D | JarURLConnection.java | 165 String spec = url.getFile(); in parseSpecs()
|
D | URL.java | 835 public String getFile() { in getFile() method in URL 1413 String file = tempState.getFile(); in setDeserializedFields() 1588 String getFile () {
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | URLConnection.java | 156 if (url.getFile().endsWith("/")) in getContentType() 159 ct = guessContentTypeFromName(url.getFile()); in getContentType() 225 return url.getFile().indexOf('?') < 0 /* && url.postData == null in canCache()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FileURLMapper.java | 63 path = url.getFile(); in getPath()
|
D | URLClassPath.java | 576 String file = url.getFile(); 841 String fileName = url.getFile(); 1260 String path = url.getFile().replace('/', File.separatorChar); 1282 if (url.getFile().startsWith(normalizedBase.getFile()) == false) {
|
/libcore/ojluni/src/main/java/sun/net/util/ |
D | URLUtil.java | 72 String file = url.getFile(); in urlNoFragString()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileSystemException.java | 83 public String getFile() { in getFile() method in FileSystemException
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | Handler.java | 91 ru = new URL("ftp", host, u.getFile() + in openConnection()
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClient.java | 368 …public abstract FtpClient getFile(String name, OutputStream local) throws FtpProtocolException, IO… in getFile() method in FtpClient
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 572 absoluteURL.getFile().replaceAll("^.*!/", "")); in test_getResource_withSharpChar() 598 absoluteURL.getFile().replaceAll("^.*!/", "")); in test_getResource_withQueryChar()
|