Searched refs:parentFile (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/main/java/java/net/ |
D | URLClassLoader.java | 126 String parentFile = new File(file).getParent(); in getParentURL() local 127 parentFile = parentFile.replace(File.separatorChar, '/'); in getParentURL() 128 if (parentFile.charAt(0) != '/') { in getParentURL() 129 parentFile = "/" + parentFile; in getParentURL() 132 .getHost(), fileURL.getPort(), parentFile); in getParentURL()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | DomTest.java | 1080 File parentFile = file.getParentFile(); in testBaseUriRelativeUriResolution() local 1107 assertFileUriEquals(message, parentFile + "/b1/b2", b.getBaseURI()); in testBaseUriRelativeUriResolution() 1108 assertFileUriEquals(message, parentFile + "/b1/b2", c.getBaseURI()); in testBaseUriRelativeUriResolution() 1109 assertFileUriEquals(message, parentFile + "/d1/d2", d.getBaseURI()); in testBaseUriRelativeUriResolution() 1110 assertFileUriEquals(message, parentFile + "/d1/d2", e.getBaseURI()); in testBaseUriRelativeUriResolution() 1111 assertFileUriEquals(message, parentFile + "/h1/h2/", h.getBaseURI()); in testBaseUriRelativeUriResolution() 1112 assertFileUriEquals(message, parentFile + "/h1/i1/i2", i.getBaseURI()); in testBaseUriRelativeUriResolution()
|