Package tools.refinery.generator
Class ProblemLoader
java.lang.Object
tools.refinery.generator.ProblemLoader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncancellationToken
(CancellationToken cancellationToken) loadResource
(org.eclipse.emf.ecore.resource.Resource resource) loadStream
(InputStream inputStream) loadStream
(InputStream inputStream, org.eclipse.emf.common.util.URI uri) loadString
(String problemString) loadString
(String problemString, org.eclipse.emf.common.util.URI uri) loadUri
(org.eclipse.emf.common.util.URI uri) void
setFileExtensionProvider
(org.eclipse.xtext.resource.FileExtensionProvider fileExtensionProvider)
-
Constructor Details
-
ProblemLoader
public ProblemLoader()
-
-
Method Details
-
setFileExtensionProvider
@Inject public void setFileExtensionProvider(org.eclipse.xtext.resource.FileExtensionProvider fileExtensionProvider) -
cancellationToken
-
extraPath
-
extraPath
-
loadString
public Problem loadString(String problemString, org.eclipse.emf.common.util.URI uri) throws IOException - Throws:
IOException
-
loadString
- Throws:
IOException
-
loadStream
public Problem loadStream(InputStream inputStream, org.eclipse.emf.common.util.URI uri) throws IOException - Throws:
IOException
-
loadStream
- Throws:
IOException
-
loadFile
- Throws:
IOException
-
loadFile
- Throws:
IOException
-
loadUri
- Throws:
IOException
-
loadResource
-
loadScopeConstraints
public Problem loadScopeConstraints(Problem problem, List<String> extraScopes, List<String> overrideScopes) throws IOException - Throws:
IOException
-