/openjdk7/jdk/test/java/nio/file/WatchService/ |
H A D | FileTreeModifier.java | 74 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 D | PathOps.java | 178 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 D | FileTreeCreatorVC10.java | 61 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 D | FileTreeCreatorVC7.java | 56 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 D | Copy.java | 103 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 D | PathOps.java | 174 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 D | Path.java | 54 * 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 D | Files.java | 716 for (Path name: parent.relativize(dir)) {
|
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/ |
H A D | MaxDepth.java | 43 Path rp = file.relativize(top);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/ |
H A D | PathFileObject.java | 77 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 D | PassThroughFileSystem.java | 456 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 D | Demo.java | 498 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 D | WSDLGenerator.java | 354 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 D | URI.java | 219 * <i>u</i><tt>.relativize(</tt><i>u</i><tt>.resolve(</tt><i>v</i><tt>)).equals(</tt><i>v</i><tt>)</tt> 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> .<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 D | WindowsPath.java | 381 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 D | UnixPath.java | 409 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 D | RunExamples.java | 481 html.write(e.file.toURI().relativize(f.toURI()).toString());
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/schemagen/ |
H A D | XmlSchemaGenerator.java | 662 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 D | Test.java | 392 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 D | ZipPath.java | 232 public Path relativize(Path other) { method in class:ZipPath
|