Package 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
-
-
Constructor Summary
Constructors Constructor Description ExternalContentAwareURIHandler(org.eclipse.emf.ecore.resource.URIHandler delegate, IExternalContentSupport.IExternalContentProvider contentProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
void
setAttributes(org.eclipse.emf.common.util.URI uri, java.util.Map<java.lang.String,?> attributes, java.util.Map<?,?> options)
-
-
-
Constructor Detail
-
ExternalContentAwareURIHandler
public ExternalContentAwareURIHandler(org.eclipse.emf.ecore.resource.URIHandler delegate, IExternalContentSupport.IExternalContentProvider contentProvider)
-
-
Method Detail
-
canHandle
public boolean canHandle(org.eclipse.emf.common.util.URI uri)
- Specified by:
canHandle
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.eclipse.emf.ecore.resource.URIHandler
- Throws:
java.io.IOException
-
-