com.aptana.ide.debug.internal.core.sourcelookup
Class RemoteFileStorage

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by com.aptana.ide.core.resources.UniformResourceStorage
          extended by com.aptana.ide.debug.internal.core.sourcelookup.RemoteFileStorage
All Implemented Interfaces:
org.eclipse.core.resources.IStorage, org.eclipse.core.runtime.IAdaptable

public class RemoteFileStorage
extends UniformResourceStorage

Author:
Max Stepanov

Constructor Summary
RemoteFileStorage(java.net.URI uri, IFileContentRetriever retriever)
          RemoteFileStorage
 
Method Summary
 java.io.InputStream getContents()
           
protected  IFileContentRetriever getFileContentRetriever()
          getFileContentRetriever
 java.lang.String getName()
           
 java.net.URI getURI()
          getURI
 boolean isValid()
          isValid
protected  void setFileContentRetriever(IFileContentRetriever retriever)
          setFileContentRetriever
 
Methods inherited from class com.aptana.ide.core.resources.UniformResourceStorage
equals, getAdapter, getFullPath, hashCode, isReadOnly
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteFileStorage

public RemoteFileStorage(java.net.URI uri,
                         IFileContentRetriever retriever)
RemoteFileStorage

Parameters:
uri -
retriever -
Method Detail

setFileContentRetriever

protected void setFileContentRetriever(IFileContentRetriever retriever)
setFileContentRetriever

Parameters:
retriever -

getFileContentRetriever

protected IFileContentRetriever getFileContentRetriever()
getFileContentRetriever

Returns:
IFileContentRetriever

isValid

public boolean isValid()
isValid

Returns:
boolean

getContents

public java.io.InputStream getContents()
                                throws org.eclipse.core.runtime.CoreException
Specified by:
getContents in interface org.eclipse.core.resources.IStorage
Overrides:
getContents in class UniformResourceStorage
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IStorage.getContents()

getURI

public java.net.URI getURI()
Description copied from class: UniformResourceStorage
getURI

Specified by:
getURI in class UniformResourceStorage
Returns:
URI
See Also:
UniformResourceStorage.getURI()

getName

public java.lang.String getName()
Specified by:
getName in interface org.eclipse.core.resources.IStorage
Overrides:
getName in class UniformResourceStorage
See Also:
IStorage.getName()