Class StringStorage

java.lang.Object
uk.ac.gda.richbeans.xml.string.StringStorage
All Implemented Interfaces:
org.eclipse.core.resources.IStorage, org.eclipse.core.runtime.IAdaptable

public class StringStorage extends Object implements org.eclipse.core.resources.IStorage
  • Constructor Details

    • StringStorage

      public StringStorage(String input)
    • StringStorage

      public StringStorage(String input, String name)
  • Method Details

    • getContents

      public 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
    • getAdapter

      public Object getAdapter(Class adapter)
      Specified by:
      getAdapter in interface org.eclipse.core.runtime.IAdaptable
    • getName

      public 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