org.guvnor.tools.utils
Class StringStorage
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.guvnor.tools.utils.StringStorage
- All Implemented Interfaces:
- org.eclipse.core.resources.IStorage, org.eclipse.core.runtime.IAdaptable
public class StringStorage
- extends org.eclipse.core.runtime.PlatformObject
- implements org.eclipse.core.resources.IStorage
Stores a string for in-memory editing.
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
StringStorage
public StringStorage(String contents,
String name)
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
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
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.