Package org.eclipse.emf.compare.utils
Class DelegatingURIConverter
java.lang.Object
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl
org.eclipse.emf.compare.utils.DelegatingURIConverter
- All Implemented Interfaces:
URIConverter
- Direct Known Subclasses:
StorageURIConverter
public class DelegatingURIConverter extends ExtensibleURIConverterImpl
This implementation of an
URI Converter will delegate all calls to another.- Since:
- 1.3
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl
ExtensibleURIConverterImpl.ContentHandlerList, ExtensibleURIConverterImpl.URIHandlerList, ExtensibleURIConverterImpl.URIMapNested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.URIConverter
URIConverter.Cipher, URIConverter.Loadable, URIConverter.Readable, URIConverter.ReadableInputStream, URIConverter.Saveable, URIConverter.Writeable, URIConverter.WriteableOutputStream -
Field Summary
Fields inherited from class org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl
contentHandlers, uriHandlers, uriMapFields inherited from interface org.eclipse.emf.ecore.resource.URIConverter
ATTRIBUTE_ARCHIVE, ATTRIBUTE_DIRECTORY, ATTRIBUTE_EXECUTABLE, ATTRIBUTE_HIDDEN, ATTRIBUTE_LENGTH, ATTRIBUTE_READ_ONLY, ATTRIBUTE_TIME_STAMP, INSTANCE, NULL_TIME_STAMP, OPTION_REQUESTED_ATTRIBUTES, OPTION_RESPONSE, OPTION_TIMEOUT, OPTION_URI_CONVERTER, RESPONSE_TIME_STAMP_PROPERTY, RESPONSE_URI, URI_MAP -
Constructor Summary
Constructors Constructor Description DelegatingURIConverter(URIConverter delegateURIConverter)Instantiates ourURIConvertergiven its delegate. -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,?>contentDescription(URI uri, java.util.Map<?,?> options)java.io.InputStreamcreateInputStream(URI uri, java.util.Map<?,?> options)java.io.OutputStreamcreateOutputStream(URI uri, java.util.Map<?,?> options)voiddelete(URI uri, java.util.Map<?,?> options)booleanexists(URI uri, java.util.Map<?,?> options)java.util.Map<java.lang.String,?>getAttributes(URI uri, java.util.Map<?,?> options)EList<ContentHandler>getContentHandlers()URIHandlergetURIHandler(URI uri)EList<URIHandler>getURIHandlers()java.util.Map<URI,URI>getURIMap()URInormalize(URI uri)voidsetAttributes(URI uri, java.util.Map<java.lang.String,?> attributes, java.util.Map<?,?> options)Methods inherited from class org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl
createInputStream, createOutputStream, getInternalURIMap
-
Constructor Details
-
DelegatingURIConverter
Instantiates ourURIConvertergiven its delegate.- Parameters:
delegateURIConverter- Our delegateURIConverter.
-
-
Method Details
-
contentDescription
public java.util.Map<java.lang.String,?> contentDescription(URI uri, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
contentDescriptionin interfaceURIConverter- Overrides:
contentDescriptionin classExtensibleURIConverterImpl- Throws:
java.io.IOException- See Also:
URIConverter.contentDescription(org.eclipse.emf.common.util.URI, java.util.Map)
-
createInputStream
public java.io.InputStream createInputStream(URI uri, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
createInputStreamin interfaceURIConverter- Overrides:
createInputStreamin classExtensibleURIConverterImpl- Throws:
java.io.IOException- See Also:
URIConverter.createInputStream(org.eclipse.emf.common.util.URI, java.util.Map)
-
createOutputStream
public java.io.OutputStream createOutputStream(URI uri, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
createOutputStreamin interfaceURIConverter- Overrides:
createOutputStreamin classExtensibleURIConverterImpl- Throws:
java.io.IOException- See Also:
URIConverter.createOutputStream(org.eclipse.emf.common.util.URI, java.util.Map)
-
delete
- Specified by:
deletein interfaceURIConverter- Overrides:
deletein classExtensibleURIConverterImpl- Throws:
java.io.IOException- See Also:
URIConverter.delete(org.eclipse.emf.common.util.URI, java.util.Map)
-
exists
- Specified by:
existsin interfaceURIConverter- Overrides:
existsin classExtensibleURIConverterImpl- See Also:
URIConverter.exists(org.eclipse.emf.common.util.URI, java.util.Map)
-
getAttributes
- Specified by:
getAttributesin interfaceURIConverter- Overrides:
getAttributesin classExtensibleURIConverterImpl- See Also:
URIConverter.getAttributes(org.eclipse.emf.common.util.URI, java.util.Map)
-
getContentHandlers
- Specified by:
getContentHandlersin interfaceURIConverter- Overrides:
getContentHandlersin classExtensibleURIConverterImpl- See Also:
URIConverter.getContentHandlers()
-
getURIHandler
- Specified by:
getURIHandlerin interfaceURIConverter- Overrides:
getURIHandlerin classExtensibleURIConverterImpl- See Also:
URIConverter.getURIHandler(org.eclipse.emf.common.util.URI)
-
getURIHandlers
- Specified by:
getURIHandlersin interfaceURIConverter- Overrides:
getURIHandlersin classExtensibleURIConverterImpl- See Also:
URIConverter.getURIHandlers()
-
getURIMap
- Specified by:
getURIMapin interfaceURIConverter- Overrides:
getURIMapin classExtensibleURIConverterImpl- See Also:
URIConverter.getURIMap()
-
normalize
- Specified by:
normalizein interfaceURIConverter- Overrides:
normalizein classExtensibleURIConverterImpl- See Also:
URIConverter.normalize(org.eclipse.emf.common.util.URI)
-
setAttributes
public void setAttributes(URI uri, java.util.Map<java.lang.String,?> attributes, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
setAttributesin interfaceURIConverter- Overrides:
setAttributesin classExtensibleURIConverterImpl- Throws:
java.io.IOException- See Also:
URIConverter.setAttributes(org.eclipse.emf.common.util.URI, java.util.Map, java.util.Map)
-