public class URIStorage extends Object implements org.eclipse.core.resources.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() | 
| org.eclipse.core.runtime.IPath | getFullPath() | 
| String | getName() | 
| URI | getURI()Returns the unmodified URI for this storage (will need normalization). | 
| 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 org.eclipse.core.runtime.IAdaptableIAdaptable.getAdapter(java.lang.Class)public InputStream getContents() throws org.eclipse.core.runtime.CoreException
getContents in interface org.eclipse.core.resources.IStorageorg.eclipse.core.runtime.CoreExceptionIStorage.getContents()public org.eclipse.core.runtime.IPath getFullPath()
getFullPath in interface org.eclipse.core.resources.IStorageIStorage.getFullPath()public String getName()
getName in interface org.eclipse.core.resources.IStorageIStorage.getName()public boolean isReadOnly()
isReadOnly in interface org.eclipse.core.resources.IStorageIStorage.isReadOnly()public URI getURI()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.