org.eclipse.gmt.umlx.registry.standalone
Class ModelFileResolver
java.lang.Object
org.eclipse.gmt.umlx.registry.environment.AbstractModelResolver
org.eclipse.gmt.umlx.registry.standalone.ModelFileResolver
- All Implemented Interfaces:
- ModelResolver
public class ModelFileResolver
- extends AbstractModelResolver
ModelFileResolver supports use of the ModelRegistry in a standalone application using just
java.io.File as the handle on the physical model storage medium.
Methods inherited from class org.eclipse.gmt.umlx.registry.environment.AbstractModelResolver |
getProjectRegistry, getRegistration, getRegistration, getRegistration, getRegistrations, getResource, getResource, getResourceSet, getURI, getURI, getURI, setResourceSet, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ModelFileResolver
public ModelFileResolver(ProjectHandle projectHandle,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
ModelFileResolver
public ModelFileResolver(ProjectHandle projectHandle,
java.lang.String file)
throws java.io.IOException
- Throws:
java.io.IOException
createProjectHandle
public static ProjectHandle createProjectHandle(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
createProjectHandle
public static ProjectHandle createProjectHandle(java.io.File file,
java.lang.String registryPath)
throws java.io.IOException
- Throws:
java.io.IOException
createFileHandle
public static FileHandle createFileHandle(ProjectHandle projectHandle,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException