public class URIStorage extends Object implements IStorage
IStorage will allow us to keep track of the URIHandler that's
been used to load a given URI from this uri converter.| Constructor and Description |
|---|
URIStorage(URI uri,
URIHandler handler,
URIConverter converter)
Creates an URIStorage for the given URI an its associated handler.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
getAdapter(Class adapter) |
InputStream |
getContents() |
IPath |
getFullPath() |
String |
getName() |
int |
hashCode() |
boolean |
isReadOnly() |
public URIStorage(URI uri, URIHandler handler, URIConverter converter)
uri - The target uri of this storage.handler - The URI handler that can be used to retrieve this URI's contents.converter - The URI converter which created this storage.public Object getAdapter(Class adapter)
getAdapter in interface IAdaptableIAdaptable.getAdapter(java.lang.Class)public InputStream getContents() throws CoreException
getContents in interface IStorageCoreExceptionIStorage.getContents()public IPath getFullPath()
getFullPath in interface IStorageIStorage.getFullPath()public String getName()
getName in interface IStorageIStorage.getName()public boolean isReadOnly()
isReadOnly in interface IStorageIStorage.isReadOnly()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.