|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infai.emo.matcher.util.EcoreXMIModelReader
public class EcoreXMIModelReader
This class reads the model from the given path.
It returns an EMF-Resource containing the model.
Resource
Field Summary | |
---|---|
private java.lang.String |
fileExtension
The extension of the model file. |
Constructor Summary | |
---|---|
EcoreXMIModelReader(java.lang.String fileExtension)
Constructor that initializes the ModelReader by setting the file-extension. |
Method Summary | |
---|---|
org.eclipse.emf.ecore.resource.Resource |
readModel(java.lang.String path)
Reads the selected model given by the path and returns a resource containing the contents of the model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String fileExtension
Constructor Detail |
---|
public EcoreXMIModelReader(java.lang.String fileExtension)
fileExtension
- the file-extension of the selected modelMethod Detail |
---|
public org.eclipse.emf.ecore.resource.Resource readModel(java.lang.String path)
path
- the path of the model to be read.
Resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |