public class URIToOSPathConverter
extends java.lang.Object
URI
to an OS-specific file, if possible.Constructor and Description |
---|
URIToOSPathConverter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFileFromIFile(IFile file)
|
static java.lang.String |
getFileFromURI(URI uri)
Convert the given
URI to an OS-specific file, if possible. |
public static java.lang.String getFileFromIFile(IFile file)
public static java.lang.String getFileFromURI(URI uri)
URI
to an OS-specific file, if possible.uri
- May be platform or file URI
, absolute or relative.null
if no file could be
found.Copyright (c) 2015 itemis AG, and others. All rights reserved.