Uses of Class
org.eclipse.emf.common.util.URI
Packages that use URI
Package
Description
Provides a collection of subpackages to support the EMF
infrastructure.
Provides basic utilities.
-
Uses of URI in org.eclipse.emf.common
Methods in org.eclipse.emf.common that return URIModifier and TypeMethodDescriptionstatic URICommonPlugin.asLocalURI(URI uri) Use the platform, if available, to convert to a local URI.protected static URICommonPlugin.Implementation.asLocalURI(URI uri) Use the platform to convert to a local URI.protected static URIprotected static URIUse the platform to convert to a local URI.static URIUse the platform, if available, to resolve the URI.Methods in org.eclipse.emf.common that return types with arguments of type URIModifier and TypeMethodDescriptionCommonPlugin.getTargetPlatformBundleMappings()Computes a map from bundle symbolic name to the bundle's location URI.Methods in org.eclipse.emf.common with parameters of type URIModifier and TypeMethodDescriptionstatic URICommonPlugin.asLocalURI(URI uri) Use the platform, if available, to convert to a local URI.protected static URICommonPlugin.Implementation.asLocalURI(URI uri) Use the platform to convert to a local URI.protected static URIUse the platform to convert to a local URI.static URIUse the platform, if available, to resolve the URI. -
Uses of URI in org.eclipse.emf.common.util
Subclasses of URI in org.eclipse.emf.common.utilModifier and TypeClassDescriptionprotected static final classA subclass for representing a URI with a fragment.protected static final classA subclass for representing a hierarchical URI.protected static final classA subclass for representing an opaque URI.Fields in org.eclipse.emf.common.util declared as URIModifier and TypeFieldDescriptionprotected final URIURI.Fragment.uriThebaseURI.protected final URIURI.URIPool.CachedToString.uriMethods in org.eclipse.emf.common.util 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.Fragment.appendFileExtension(String fileExtension) URI.Hierarchical.appendFileExtension(String fileExtension) URI.appendFragment(String fragment) Returns the URI formed from this URI and the given fragment.URI.Fragment.appendFragment(String fragment) URI.appendQuery(String query) Returns the URI formed from this URI and the given query.URI.Fragment.appendQuery(String query) URI.Hierarchical.appendQuery(String 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.Fragment.appendSegment(String segment) URI.Hierarchical.appendSegment(String segment) 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.URI.Fragment.appendSegments(String[] segments) URI.Hierarchical.appendSegments(String[] segments) static URIURI.createDeviceURI(String uri) Deprecated.static URIURI.createFileURI(String pathName) Static factory method based on parsing aFilepath string.static URIURI.createGenericURI(String scheme, String opaquePart, String fragment) Static factory method for a generic, non-hierarchical URI.static URIURI.createHierarchicalURI(String[] segments, String query, String fragment) Static factory method for a relative hierarchical URI with relative path.static URIURI.createHierarchicalURI(String scheme, String authority, String device, String[] segments, String query, String fragment) Static factory method for a hierarchical URI with absolute path.static URIURI.createHierarchicalURI(String scheme, String authority, String device, String query, String fragment) Static factory method for a hierarchical URI with no path.static URIURI.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 URIURI.createPlatformResourceURI(String pathName) Deprecated.UsecreatePlatformResourceURI(String, boolean)instead.static URIURI.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 URIStatic factory method based on parsing a URI string, with explicit device support and handling for archive URIs enabled.static URIStatic factory method that encodes and parses the given URI string.static URIStatic factory method that encodes and parses the given URI string.static URIURI.createURIWithCache(String uri) Deprecated.Please usecreateURIinstead.Finds the shortest relative or, if necessary, the absolute URI that, when resolved against the givenbaseabsolute hierarchical URI usingresolve, will yield this absolute URI.Finds an absolute URI that, when resolved against the givenbaseabsolute hierarchical URI usingresolve, will yield this absolute URI.URI.Fragment.deresolve(URI base, boolean preserveRootParents, boolean anyRelPath, boolean shorterRelPath) URI.Hierarchical.deresolve(URI base, boolean preserveRootParents, boolean anyRelPath, boolean shorterRelPath) URI.URIPool.FileAccessUnit.getInternalizedValue()URI.URIPool.PlatformAccessUnit.getInternalizedValue()URI.URIPool.StringAccessUnit.getInternalizedValue()URI.URIPool.URIComponentsAccessUnit.getInternalizedValue()protected URIURI.URIPool.URIPoolAccessUnitBase.getValue()protected URIURI.URIPool.intern(boolean isExclusive, boolean hierarchical, String scheme, String authority, String device, boolean absolutePath, String[] segments, String query, int hashCode) Intern a URI from its component parts.protected URIURI.URIPool.intern(boolean isExclusive, int validate, boolean hierarchical, String scheme, String authority, String device, boolean absolutePath, String[] segments, String query) Intern a URI from its component parts.protected URIIntern a URI from its string representation, parsing if necessary.protected URIIntern a platform URI from its path representation, parsing if necessary.protected URIURI.URIPool.internFile(String pathName) Intern a file URI from its path representation, parsing if necessary.URI.URIPool.StringAccessUnit.match()protected URIURI.URIPool.StringAccessUnit.parseIntoURI(String uri) A string-parsing implementation.protected URIURI.rawAppendFragment(CharSequence fragment) URI.Fragment.replacePrefix(URI oldPrefix, URI newPrefix) URI.Hierarchical.replacePrefix(URI oldPrefix, URI newPrefix) URI.replacePrefix(URI oldPrefix, URI newPrefix) If this is a hierarchical URI reference andoldPrefixis a prefix of it, this returns the URI formed by replacing it bynewPrefix;nullotherwise.Resolves this URI reference against abaseabsolute hierarchical URI, returning the resulting absolute URI.Resolves this URI reference against abaseabsolute hierarchical URI, returning the resulting absolute URI.URI.Fragment.trimFileExtension()URI.Hierarchical.trimFileExtension()URI.trimFileExtension()If this URI has a non-nullfileExtension, returns the URI formed by removing it; this URI unchanged, otherwise.URI.Fragment.trimFragment()URI.trimFragment()If this URI has a non-nullfragment, returns the URI formed by removing it; this URI unchanged, otherwise.URI.Fragment.trimQuery()URI.Hierarchical.trimQuery()URI.trimQuery()If this URI has a non-nullquery, returns the URI formed by removing it; this URI unchanged, otherwise.URI.Fragment.trimSegments(int i) URI.Hierarchical.trimSegments(int i) 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.emf.common.util that return types with arguments of type URIModifier and TypeMethodDescriptionprotected Pool.AccessUnit<URI> URI.URIPool.FileAccessUnit.Queue.newAccessUnit()protected Pool.AccessUnit<URI> URI.URIPool.PlatformAccessUnit.Queue.newAccessUnit()protected Pool.AccessUnit<URI> URI.URIPool.StringAccessUnit.Queue.newAccessUnit()protected Pool.AccessUnit<URI> URI.URIPool.URIComponentsAccessUnit.Queue.newAccessUnit()Methods in org.eclipse.emf.common.util with parameters of type URIModifier and TypeMethodDescriptionFinds the shortest relative or, if necessary, the absolute URI that, when resolved against the givenbaseabsolute hierarchical URI usingresolve, will yield this absolute URI.Finds an absolute URI that, when resolved against the givenbaseabsolute hierarchical URI usingresolve, will yield this absolute URI.URI.Fragment.deresolve(URI base, boolean preserveRootParents, boolean anyRelPath, boolean shorterRelPath) URI.Hierarchical.deresolve(URI base, boolean preserveRootParents, boolean anyRelPath, boolean shorterRelPath) protected String[]URI.Hierarchical.findRelativePath(URI base, boolean preserveRootParents) protected booleanprotected booleanprotected booleanprotected booleanprotected String[]protected WeakReference<String> URI.URIPool.newCachedToString(URI uri, String string) URI.Fragment.replacePrefix(URI oldPrefix, URI newPrefix) URI.Hierarchical.replacePrefix(URI oldPrefix, URI newPrefix) URI.replacePrefix(URI oldPrefix, URI newPrefix) If this is a hierarchical URI reference andoldPrefixis a prefix of it, this returns the URI formed by replacing it bynewPrefix;nullotherwise.Resolves this URI reference against abaseabsolute hierarchical URI, returning the resulting absolute URI.Resolves this URI reference against abaseabsolute hierarchical URI, returning the resulting absolute URI.protected booleanURI.Fragment.segmentsEqual(URI uri) protected booleanURI.Hierarchical.segmentsEqual(URI uri) protected booleanURI.segmentsEqual(URI uri) protected voidConstructors in org.eclipse.emf.common.util with parameters of type URIModifierConstructorDescriptionCachedToString(URI uri, String string, ReferenceQueue<? super String> queue) protectedFragment(int hashCode, URI uri, CharSequence fragment) Creates an instance from the components.Constructor parameters in org.eclipse.emf.common.util with type arguments of type URI
createURI, which now has explicit device support enabled.