public class StorageURIConverter extends DelegatingURIConverter
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 |
---|
StorageURIConverter(URIConverter delegate)
Constructs our uri converter given its delegate.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
createInputStream(URI uri) |
InputStream |
createInputStream(URI uri,
Map<?,?> options) |
protected org.eclipse.core.resources.IStorage |
createStorage(URI uri,
URIHandler handler,
URIConverter converter)
Creates a new IStorage for the given URI.
|
Set<org.eclipse.core.resources.IStorage> |
getLoadedRevisions()
Allows clients of this API to retrieve the set of revisions that were loaded while resolving the
resource set on which this converter is installed.
|
contentDescription, createOutputStream, delete, exists, getAttributes, getContentHandlers, getURIHandler, getURIHandlers, getURIMap, normalize, setAttributes
createOutputStream, getInternalURIMap
public StorageURIConverter(URIConverter delegate)
delegate
- The delegate URI Converter.public Set<org.eclipse.core.resources.IStorage> getLoadedRevisions()
public InputStream createInputStream(URI uri) throws IOException
createInputStream
in interface URIConverter
createInputStream
in class ExtensibleURIConverterImpl
IOException
public InputStream createInputStream(URI uri, Map<?,?> options) throws IOException
createInputStream
in interface URIConverter
createInputStream
in class DelegatingURIConverter
IOException
DelegatingURIConverter.createInputStream(org.eclipse.emf.common.util.URI,
java.util.Map)
protected org.eclipse.core.resources.IStorage createStorage(URI uri, URIHandler handler, URIConverter converter)
uri
- The uri for which we need a storage.handler
- The URI handler that can be used to retrieve this URI's contents.converter
- The URI converter from which this storage was created.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.