Uses of Class
org.eclipse.e4.ui.css.swt.helpers.URI
Packages that use URI
-
Uses of URI in org.eclipse.e4.ui.css.swt.helpers
Methods in org.eclipse.e4.ui.css.swt.helpers that return URIModifier and TypeMethodDescriptionURI.appendFileExtension
(String fileExtension) Returns the URI formed by appending a period (".") followed by the specified file extension to the last path segment of this URI, if it is hierarchical with a non-empty path ending in a non-empty segment; otherwise, this URI is returned unchanged.URI.appendFragment
(String fragment) Returns the URI formed from this URI and the given fragment.URI.appendQuery
(String query) Returns the URI formed from this URI and the given query.URI.appendSegment
(String segment) Returns the URI formed by appending the specified segment on to the end of the path of this URI, if hierarchical; this URI unchanged, otherwise.URI.appendSegments
(String[] segments) Returns the URI formed by appending the specified segments on to the end of the path of this URI, if hierarchical; this URI unchanged, otherwise.static URI
URI.createDeviceURI
(String uri) Deprecated.static URI
URI.createFileURI
(String pathName) Static factory method based on parsing aFile
path string.static URI
URI.createGenericURI
(String scheme, String opaquePart, String fragment) Static factory method for a generic, non-hierarchical URI.static URI
URI.createHierarchicalURI
(String[] segments, String query, String fragment) Static factory method for a relative hierarchical URI with relative path.static URI
URI.createHierarchicalURI
(String scheme, String authority, String device, String[] segments, String query, String fragment) Static factory method for a hierarchical URI with absolute path.static URI
URI.createHierarchicalURI
(String scheme, String authority, String device, String query, String fragment) Static factory method for a hierarchical URI with no path.static URI
URI.createPlatformPluginURI
(String pathName, boolean encode) Static factory method based on parsing a plug-in-based path string, with an option to encode the created URI.static URI
URI.createPlatformResourceURI
(String pathName) Deprecated.UsecreatePlatformResourceURI(String, boolean)
instead.static URI
URI.createPlatformResourceURI
(String pathName, boolean encode) Static factory method based on parsing a workspace-relative path string, with an option to encode the created URI.static URI
Static factory method based on parsing a URI string, with explicit device support and handling for archive URIs enabled.static URI
Static factory method that encodes and parses the given URI string.static URI
Static factory method that encodes and parses the given URI string.static URI
URI.createURIWithCache
(String uri) Deprecated.Please usecreateURI
instead.Finds the shortest relative or, if necessary, the absolute URI that, when resolved against the givenbase
absolute hierarchical URI usingresolve
, will yield this absolute URI.Finds an absolute URI that, when resolved against the givenbase
absolute hierarchical URI usingresolve
, will yield this absolute URI.URI.replacePrefix
(URI oldPrefix, URI newPrefix) If this is a hierarchical URI reference andoldPrefix
is a prefix of it, this returns the URI formed by replacing it bynewPrefix
;null
otherwise.Resolves this URI reference against abase
absolute hierarchical URI, returning the resulting absolute URI.Resolves this URI reference against abase
absolute hierarchical URI, returning the resulting absolute URI.URI.trimFileExtension()
If this URI has a non-nullfileExtension
, returns the URI formed by removing it; this URI unchanged, otherwise.URI.trimFragment()
If this URI has a non-nullfragment
, returns the URI formed by removing it; this URI unchanged, otherwise.URI.trimQuery()
If this URI has a non-nullquery
, returns the URI formed by removing it; this URI unchanged, otherwise.URI.trimSegments
(int i) Returns the URI formed by trimming the specified number of segments (including empty segments, such as one representing a trailing separator) from the end of the path of this URI, if hierarchical; otherwise, this URI is returned unchanged.Methods in org.eclipse.e4.ui.css.swt.helpers with parameters of type URIModifier and TypeMethodDescriptionFinds the shortest relative or, if necessary, the absolute URI that, when resolved against the givenbase
absolute hierarchical URI usingresolve
, will yield this absolute URI.Finds an absolute URI that, when resolved against the givenbase
absolute hierarchical URI usingresolve
, will yield this absolute URI.URI.replacePrefix
(URI oldPrefix, URI newPrefix) If this is a hierarchical URI reference andoldPrefix
is a prefix of it, this returns the URI formed by replacing it bynewPrefix
;null
otherwise.Resolves this URI reference against abase
absolute hierarchical URI, returning the resulting absolute URI.Resolves this URI reference against abase
absolute hierarchical URI, returning the resulting absolute URI.
createURI
, which now has explicit device support enabled.