public abstract class UNCPathConverter extends Object
Constructor and Description |
---|
UNCPathConverter() |
Modifier and Type | Method and Description |
---|---|
static UNCPathConverter |
getInstance()
Get the instance of the class that combines the registered converters.
|
static boolean |
isUNC(String path)
Test if the string path is in UNC format.
|
static org.eclipse.core.runtime.IPath |
toPath(URI uri)
Convert a URI to an IPath.
|
abstract URI |
toURI(org.eclipse.core.runtime.IPath path)
Convert an IPath to a URI.
|
abstract URI |
toURI(String path)
Convert a string path to a URI
|
public static UNCPathConverter getInstance()
public static boolean isUNC(String path)
path
- path to testpublic static org.eclipse.core.runtime.IPath toPath(URI uri)
uri
- URI to convert to an IPathpublic abstract URI toURI(org.eclipse.core.runtime.IPath path)
path
- path to convertCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.