public class InMemoryURIHandler
extends java.lang.Object
implements org.eclipse.emf.ecore.resource.URIHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
InMemoryURIHandler.InMemFile |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCHEME |
| Constructor and Description |
|---|
InMemoryURIHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(org.eclipse.emf.common.util.URI uri) |
java.util.Map<java.lang.String,?> |
contentDescription(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options) |
java.io.InputStream |
createInputStream(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options) |
java.io.OutputStream |
createOutputStream(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options) |
void |
delete(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options) |
boolean |
exists(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options) |
java.util.Map<java.lang.String,?> |
getAttributes(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options) |
protected InMemoryURIHandler.InMemFile |
getInMemoryFile(org.eclipse.emf.common.util.URI uri) |
void |
setAttributes(org.eclipse.emf.common.util.URI uri,
java.util.Map<java.lang.String,?> attributes,
java.util.Map<?,?> options) |
public static final java.lang.String SCHEME
public boolean canHandle(org.eclipse.emf.common.util.URI uri)
canHandle in interface org.eclipse.emf.ecore.resource.URIHandlerpublic java.util.Map<java.lang.String,?> contentDescription(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
throws java.io.IOException
contentDescription in interface org.eclipse.emf.ecore.resource.URIHandlerjava.io.IOExceptionpublic java.io.InputStream createInputStream(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
throws java.io.IOException
createInputStream in interface org.eclipse.emf.ecore.resource.URIHandlerjava.io.IOExceptionpublic java.io.OutputStream createOutputStream(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
throws java.io.IOException
createOutputStream in interface org.eclipse.emf.ecore.resource.URIHandlerjava.io.IOExceptionpublic void delete(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
throws java.io.IOException
delete in interface org.eclipse.emf.ecore.resource.URIHandlerjava.io.IOExceptionpublic boolean exists(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
exists in interface org.eclipse.emf.ecore.resource.URIHandlerpublic java.util.Map<java.lang.String,?> getAttributes(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
getAttributes in interface org.eclipse.emf.ecore.resource.URIHandlerpublic void setAttributes(org.eclipse.emf.common.util.URI uri,
java.util.Map<java.lang.String,?> attributes,
java.util.Map<?,?> options)
throws java.io.IOException
setAttributes in interface org.eclipse.emf.ecore.resource.URIHandlerjava.io.IOExceptionprotected InMemoryURIHandler.InMemFile getInMemoryFile(org.eclipse.emf.common.util.URI uri)