Searched defs:relativize (Results 1 - 10 of 10) sorted by relevance

/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
/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/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/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/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/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipPath.java232 public Path relativize(Path other) { method in class:ZipPath
/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/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/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/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

Completed in 1357 milliseconds