public class DelegatingURIConverter extends ExtensibleURIConverterImpl
URI Converter
will delegate all calls to another.ExtensibleURIConverterImpl.ContentHandlerList, ExtensibleURIConverterImpl.URIHandlerList, ExtensibleURIConverterImpl.URIMap
URIConverter.Cipher, URIConverter.Loadable, URIConverter.Readable, URIConverter.ReadableInputStream, URIConverter.Saveable, URIConverter.Writeable, URIConverter.WriteableOutputStream
contentHandlers, uriHandlers, uriMap
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 and Description |
---|
DelegatingURIConverter(URIConverter delegateURIConverter)
Instantiates our
URIConverter given its delegate. |
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
contentDescription(URI uri,
Map<?,?> options) |
InputStream |
createInputStream(URI uri,
Map<?,?> options) |
OutputStream |
createOutputStream(URI uri,
Map<?,?> options) |
void |
delete(URI uri,
Map<?,?> options) |
boolean |
exists(URI uri,
Map<?,?> options) |
Map<String,?> |
getAttributes(URI uri,
Map<?,?> options) |
EList<ContentHandler> |
getContentHandlers() |
URIHandler |
getURIHandler(URI uri) |
EList<URIHandler> |
getURIHandlers() |
Map<URI,URI> |
getURIMap() |
URI |
normalize(URI uri) |
void |
setAttributes(URI uri,
Map<String,?> attributes,
Map<?,?> options) |
createInputStream, createOutputStream, getInternalURIMap
public DelegatingURIConverter(URIConverter delegateURIConverter)
URIConverter
given its delegate.delegateURIConverter
- Our delegate URIConverter
.public Map<String,?> contentDescription(URI uri, Map<?,?> options) throws IOException
contentDescription
in interface URIConverter
contentDescription
in class ExtensibleURIConverterImpl
IOException
URIConverter.contentDescription(org.eclipse.emf.common.util.URI,
java.util.Map)
public InputStream createInputStream(URI uri, Map<?,?> options) throws IOException
createInputStream
in interface URIConverter
createInputStream
in class ExtensibleURIConverterImpl
IOException
URIConverter.createInputStream(org.eclipse.emf.common.util.URI,
java.util.Map)
public OutputStream createOutputStream(URI uri, Map<?,?> options) throws IOException
createOutputStream
in interface URIConverter
createOutputStream
in class ExtensibleURIConverterImpl
IOException
URIConverter.createOutputStream(org.eclipse.emf.common.util.URI,
java.util.Map)
public void delete(URI uri, Map<?,?> options) throws IOException
delete
in interface URIConverter
delete
in class ExtensibleURIConverterImpl
IOException
URIConverter.delete(org.eclipse.emf.common.util.URI, java.util.Map)
public boolean exists(URI uri, Map<?,?> options)
exists
in interface URIConverter
exists
in class ExtensibleURIConverterImpl
URIConverter.exists(org.eclipse.emf.common.util.URI, java.util.Map)
public Map<String,?> getAttributes(URI uri, Map<?,?> options)
getAttributes
in interface URIConverter
getAttributes
in class ExtensibleURIConverterImpl
URIConverter.getAttributes(org.eclipse.emf.common.util.URI,
java.util.Map)
public EList<ContentHandler> getContentHandlers()
getContentHandlers
in interface URIConverter
getContentHandlers
in class ExtensibleURIConverterImpl
URIConverter.getContentHandlers()
public URIHandler getURIHandler(URI uri)
getURIHandler
in interface URIConverter
getURIHandler
in class ExtensibleURIConverterImpl
URIConverter.getURIHandler(org.eclipse.emf.common.util.URI)
public EList<URIHandler> getURIHandlers()
getURIHandlers
in interface URIConverter
getURIHandlers
in class ExtensibleURIConverterImpl
URIConverter.getURIHandlers()
public Map<URI,URI> getURIMap()
getURIMap
in interface URIConverter
getURIMap
in class ExtensibleURIConverterImpl
URIConverter.getURIMap()
public URI normalize(URI uri)
normalize
in interface URIConverter
normalize
in class ExtensibleURIConverterImpl
URIConverter.normalize(org.eclipse.emf.common.util.URI)
public void setAttributes(URI uri, Map<String,?> attributes, Map<?,?> options) throws IOException
setAttributes
in interface URIConverter
setAttributes
in class ExtensibleURIConverterImpl
IOException
URIConverter.setAttributes(org.eclipse.emf.common.util.URI,
java.util.Map, java.util.Map)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.