public static interface IResourceServiceProvider.Registry
| Modifier and Type | Interface and Description |
|---|---|
static class |
IResourceServiceProvider.Registry.RegistryProvider |
| Modifier and Type | Field and Description |
|---|---|
static IResourceServiceProvider.Registry |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContentTypeToFactoryMap() |
java.util.Map<java.lang.String,java.lang.Object> |
getExtensionToFactoryMap() |
java.util.Map<java.lang.String,java.lang.Object> |
getProtocolToFactoryMap() |
IResourceServiceProvider |
getResourceServiceProvider(org.eclipse.emf.common.util.URI uri)
Returns the resource factory appropriate for the given URI.
|
IResourceServiceProvider |
getResourceServiceProvider(org.eclipse.emf.common.util.URI uri,
java.lang.String contentType)
Returns the
IResourceServiceProvider appropriate for the given URI. |
static final IResourceServiceProvider.Registry INSTANCE
IResourceServiceProvider getResourceServiceProvider(org.eclipse.emf.common.util.URI uri, java.lang.String contentType)
IResourceServiceProvider appropriate for the given URI. Content types are not yet
supported.uri - the URI.contentType - the content type of the URI or null if a content type should not be used during
lookup.IResourceServiceProvider appropriate for the given URI, or null if there
isn't one.IResourceServiceProvider getResourceServiceProvider(org.eclipse.emf.common.util.URI uri)
An implementation will (typically) use the URI's scheme to search the
protocol map the URI's file extension to search
extension map, and the URI's
content type identifier to search the
content type map.
uri - the URI.IResourceServiceProvider appropriate for the given URI, or null if there
isn't one.java.util.Map<java.lang.String,java.lang.Object> getContentTypeToFactoryMap()
java.util.Map<java.lang.String,java.lang.Object> getExtensionToFactoryMap()
java.util.Map<java.lang.String,java.lang.Object> getProtocolToFactoryMap()