public class URIUtil extends Object
This class is not intended to be instantiated or subclassed.
public static boolean equals(URI one, URI two)
URI.equals(Object)
method is used.one
- The first URI to test for equalitytwo
- The second URI to test for equalitytrue
if the first URI is equal to the second,
as defined by the file systems for those URIs, and false
otherwise.public static IPath toPath(URI uri)
IPath
representing this URI
in the local file system, or null
if this URI does
not represent a file in the local file system.uri
- The URI to convertnull
public static URI toURI(IPath path)
path
- The path to convertpublic static URI toURI(String pathString)
URI
.
For example, this method can be used to create a URI from the output
of File.getAbsolutePath()
.pathString
- The path string to convertGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.