Package org.eclipse.xtext.ide.server
Class UriExtensions
- java.lang.Object
-
- org.eclipse.xtext.util.UriExtensions
-
- org.eclipse.xtext.ide.server.UriExtensions
-
public class UriExtensions extends org.eclipse.xtext.util.UriExtensionsNormalizes file uris without authorities (file:/path...) to contain an empty authority (i.e. starts with three slashes:file:///path...).- Since:
- 2.11
-
-
Constructor Summary
Constructors Constructor Description UriExtensions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoUriString(java.net.URI uri)converts a java.net.URI into a string representation with empty authority, if absent and has file scheme.java.lang.StringtoUriString(org.eclipse.emf.common.util.URI uri)returns the encoded string representation of the given URI (with empty authority, if absent and has file scheme).
-
-
-
Method Detail
-
toUriString
public java.lang.String toUriString(org.eclipse.emf.common.util.URI uri)
returns the encoded string representation of the given URI (with empty authority, if absent and has file scheme).
-
toUriString
public java.lang.String toUriString(java.net.URI uri)
converts a java.net.URI into a string representation with empty authority, if absent and has file scheme.
-
-