public interface IResourceInitializer
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.xtext.resource.XtextResourceSet |
createResourceSet(com.google.inject.Injector injector)
Returns the resource set.
|
boolean |
forEclipse()
Returns whether this initializer works for Eclipse.
|
java.net.URL |
resolve(java.net.URL url)
Resolves a URL to an implementing file or Jar URL.
|
java.net.URI |
toNetUri(org.eclipse.emf.common.util.URI uri)
Converts an Eclipse URI to a java.net.URI.
|
org.eclipse.xtext.resource.XtextResourceSet createResourceSet(com.google.inject.Injector injector)
injector - the injector to use for creating the resource setjava.net.URI toNetUri(org.eclipse.emf.common.util.URI uri)
throws java.net.URISyntaxException
uri - the URI to convertjava.net.URISyntaxException - in case of URI syntax errorsboolean forEclipse()
true for Eclipse, false elsejava.net.URL resolve(java.net.URL url)
throws java.io.IOException
url - the URL to be resolvedurljava.io.IOException - in case of resolution problemsCopyright © 2009 - 2018 SSE. All Rights Reserved.