Class EFSFileStorage

  • All Implemented Interfaces:
    org.eclipse.core.resources.IStorage, org.eclipse.core.runtime.IAdaptable

    public class EFSFileStorage
    extends org.eclipse.core.runtime.PlatformObject
    implements org.eclipse.core.resources.IStorage
    A storage object which is backed by an EFS resource.
    Since:
    5.0
    • Constructor Summary

      Constructors 
      Constructor Description
      EFSFileStorage​(java.net.URI locationURI)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.io.InputStream getContents()  
      org.eclipse.core.runtime.IPath getFullPath()  
      java.net.URI getLocationURI()
      Returns the location URI corresponding to the EFS resource that backs this storage.
      java.lang.String getName()  
      boolean isReadOnly()  
      • Methods inherited from class org.eclipse.core.runtime.PlatformObject

        getAdapter
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.core.runtime.IAdaptable

        getAdapter
    • Constructor Detail

      • EFSFileStorage

        public EFSFileStorage​(java.net.URI locationURI)
    • Method Detail

      • 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
      • getFullPath

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

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

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

        public java.net.URI getLocationURI()
        Returns the location URI corresponding to the EFS resource that backs this storage.
        Returns:
        URI
      • equals

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