com.aptana.ide.core.resources
Class UniformResourceStorage

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by com.aptana.ide.core.resources.UniformResourceStorage
All Implemented Interfaces:
org.eclipse.core.resources.IStorage, org.eclipse.core.runtime.IAdaptable
Direct Known Subclasses:
LocalFileStorage, RemoteFileStorage

public abstract class UniformResourceStorage
extends org.eclipse.core.runtime.PlatformObject
implements org.eclipse.core.resources.IStorage

Author:
Max Stepanov

Constructor Summary
protected UniformResourceStorage()
          UniformResourceStorage
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 java.io.InputStream getContents()
           
 org.eclipse.core.runtime.IPath getFullPath()
           
 java.lang.String getName()
           
abstract  java.net.URI getURI()
          getURI
 int hashCode()
           
 boolean isReadOnly()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniformResourceStorage

protected UniformResourceStorage()
UniformResourceStorage

Method Detail

getURI

public abstract java.net.URI getURI()
getURI

Returns:
URI

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
Overrides:
getAdapter in class org.eclipse.core.runtime.PlatformObject
See Also:
IAdaptable.getAdapter(java.lang.Class)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

getContents

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

getFullPath

public org.eclipse.core.runtime.IPath getFullPath()
Specified by:
getFullPath in interface org.eclipse.core.resources.IStorage
See Also:
IStorage.getFullPath()

getName

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

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface org.eclipse.core.resources.IStorage
See Also:
IStorage.isReadOnly()