org.eclipse.xtext.resource
Class ExternalContentSupport.ExternalContentAwareURIHandler
java.lang.Object
org.eclipse.xtext.resource.ExternalContentSupport.ExternalContentAwareURIHandler
- All Implemented Interfaces:
- org.eclipse.emf.ecore.resource.URIHandler
- Enclosing class:
- ExternalContentSupport
public static class ExternalContentSupport.ExternalContentAwareURIHandler
- extends java.lang.Object
- implements org.eclipse.emf.ecore.resource.URIHandler
Fields inherited from interface org.eclipse.emf.ecore.resource.URIHandler |
DEFAULT_HANDLERS |
Method Summary |
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)
|
void |
setAttributes(org.eclipse.emf.common.util.URI uri,
java.util.Map<java.lang.String,?> attributes,
java.util.Map<?,?> options)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalContentSupport.ExternalContentAwareURIHandler
public ExternalContentSupport.ExternalContentAwareURIHandler(org.eclipse.emf.ecore.resource.URIHandler delegate,
IExternalContentSupport.IExternalContentProvider contentProvider)
canHandle
public boolean canHandle(org.eclipse.emf.common.util.URI uri)
- Specified by:
canHandle
in interface org.eclipse.emf.ecore.resource.URIHandler
contentDescription
public java.util.Map<java.lang.String,?> contentDescription(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
throws java.io.IOException
- Specified by:
contentDescription
in interface org.eclipse.emf.ecore.resource.URIHandler
- Throws:
java.io.IOException
createInputStream
public java.io.InputStream createInputStream(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
throws java.io.IOException
- Specified by:
createInputStream
in interface org.eclipse.emf.ecore.resource.URIHandler
- Throws:
java.io.IOException
createOutputStream
public java.io.OutputStream createOutputStream(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
throws java.io.IOException
- Specified by:
createOutputStream
in interface org.eclipse.emf.ecore.resource.URIHandler
- Throws:
java.io.IOException
delete
public void delete(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
throws java.io.IOException
- Specified by:
delete
in interface org.eclipse.emf.ecore.resource.URIHandler
- Throws:
java.io.IOException
exists
public boolean exists(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
- Specified by:
exists
in interface org.eclipse.emf.ecore.resource.URIHandler
getAttributes
public java.util.Map<java.lang.String,?> getAttributes(org.eclipse.emf.common.util.URI uri,
java.util.Map<?,?> options)
- Specified by:
getAttributes
in interface org.eclipse.emf.ecore.resource.URIHandler
setAttributes
public void setAttributes(org.eclipse.emf.common.util.URI uri,
java.util.Map<java.lang.String,?> attributes,
java.util.Map<?,?> options)
throws java.io.IOException
- Specified by:
setAttributes
in interface org.eclipse.emf.ecore.resource.URIHandler
- Throws:
java.io.IOException