Searched refs:relativize (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/test/java/nio/file/WatchService/
H A DFileTreeModifier.java74 checkExpectedEvent(watcher, ENTRY_CREATE, top.relativize(file));
86 checkExpectedEvent(watcher, ENTRY_DELETE, top.relativize(file));
110 checkExpectedEvent(watcher, ENTRY_CREATE, top.relativize(file));
125 checkExpectedEvent(watcher, ENTRY_MODIFY, top.relativize(file));
/openjdk7/jdk/test/java/nio/file/Path/
H A DPathOps.java178 PathOps relativize(String other, String expected) { method in class:PathOps
179 out.format("test relativize %s\n", other);
182 check(path.relativize(that), expected);
508 // relativize
510 .relativize("foo\\bar", "")
511 .relativize("foo", "..");
513 .relativize("C:\\a", "..\\..")
514 .relativize("C:\\a\\b\\c", "");
516 .relativize("\\\\server\\share\\bar", "..\\bar")
517 .relativize("\\\\serve
[all...]
/openjdk7/hotspot/src/share/tools/ProjectCreator/
H A DFileTreeCreatorVC10.java61 String fileLoc = vcProjLocation.relativize(file).toString();
85 String filter = startDir.relativize(file.getParent().toAbsolutePath()).toString();
113 String name = startDir.relativize(path.toAbsolutePath()).toString();
H A DFileTreeCreatorVC7.java56 wg.tag("File", new String[] { "RelativePath", vcProjLocation.relativize(file).toString()});
60 new String[] { "RelativePath", vcProjLocation.relativize(file).toString()});
/openjdk7/jdk/src/share/sample/nio/file/
H A DCopy.java103 Path newdir = target.resolve(source.relativize(dir));
117 copyFile(file, target.resolve(source.relativize(file)),
126 Path newdir = target.resolve(source.relativize(dir));
/openjdk7/jdk/test/demo/zipfs/
H A DPathOps.java174 PathOps relativize(String other, String expected) { method in class:PathOps
175 out.format("test relativize %s\n", other);
178 check(path.relativize(that), expected);
343 // relativize
345 .relativize("/a/b/c", "")
346 .relativize("/a/b/c/d/e", "d/e")
347 .relativize("/a/x", "../../x");
424 path.relativize(null);
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DPath.java54 * resolveSibling} methods to combine paths. The {@link #relativize relativize}
356 * @see #relativize
437 * <i>p</i><tt>.relativize(</tt><i>p</i><tt>.resolve(</tt><i>q</i><tt>)).equals(</tt><i>q</i><tt>)</tt>
449 * the path to relativize against this path
458 Path relativize(Path other); method in interface:Path
H A DFiles.java716 for (Path name: parent.relativize(dir)) {
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/
H A DMaxDepth.java43 Path rp = file.relativize(top);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DPathFileObject.java77 return toBinaryName(dir.relativize(path));
124 Path rp = ap.relativize(absPath);
128 // ignore this p if cannot relativize path to p
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java456 public Path relativize(Path other) { method in class:PassThroughFileSystem.PassThroughPath
457 return wrap(delegate.relativize(unwrap(other)));
/openjdk7/jdk/src/share/demo/nio/zipfs/
H A DDemo.java498 Path dst = srcPath.relativize(file);
515 Path dst = srcPath.relativize(dir);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/
H A DWSDLGenerator.java354 String schemaLoc = relativize(portWSDLID, wsdlLocation);
362 String schemaLoc = relativize(portWSDLID, wsdlLocation);
1006 schemaLoc = relativize(result.getSystemId(), wsdlLocation);
1046 * @param uri the URI to relativize
1052 protected static String relativize(String uri, String baseUri) { method in class:WSDLGenerator
/openjdk7/jdk/src/share/classes/java/net/
H A DURI.java219 * <i>u</i><tt>.relativize(</tt><i>u</i><tt>.resolve(</tt><i>v</i><tt>)).equals(</tt><i>v</i><tt>)</tt>&nbsp;&nbsp;and<br>
220 * <i>u</i><tt>.resolve(</tt><i>u</i><tt>.relativize(</tt><i>v</i><tt>)).equals(</tt><i>v</i><tt>)</tt>&nbsp;&nbsp;.<br>
1072 public URI relativize(URI uri) { method in class:URI
1073 return relativize(this, uri);
2109 private static URI relativize(URI base, URI child) { method in class:URI
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsPath.java381 public WindowsPath relativize(Path obj) { method in class:WindowsPath
386 // can only relativize paths of the same type
390 // can only relativize paths if root component matches
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixPath.java409 public UnixPath relativize(Path obj) { method in class:UnixPath
414 // can only relativize paths of the same type
/openjdk7/langtools/test/tools/javac/diags/
H A DRunExamples.java481 html.write(e.file.toURI().relativize(f.toURI()).toString());
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/schemagen/
H A DXmlSchemaGenerator.java662 imp.schemaLocation(relativize(refSystemId,result.getSystemId()));
1515 protected static String relativize(String uri, String baseUri) { method in class:XmlSchemaGenerator
/openjdk7/jdk/test/java/net/URI/
H A DTest.java392 uri = base.relativize(uri);
1227 base.relativize((URI)null);
1230 out.println("relativize((String)null) -->");
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipPath.java232 public Path relativize(Path other) { method in class:ZipPath

Completed in 80 milliseconds