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 booleancanHandle(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.InputStreamcreateInputStream(org.eclipse.emf.common.util.URI uri, java.util.Map<?,?> options)java.io.OutputStreamcreateOutputStream(org.eclipse.emf.common.util.URI uri, java.util.Map<?,?> options)voiddelete(org.eclipse.emf.common.util.URI uri, java.util.Map<?,?> options)booleanexists(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)voidsetAttributes(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:
canHandlein 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:
contentDescriptionin 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:
createInputStreamin 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:
createOutputStreamin 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:
deletein 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:
existsin 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:
getAttributesin 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:
setAttributesin interfaceorg.eclipse.emf.ecore.resource.URIHandler- Throws:
java.io.IOException
-
-