Package org.eclipse.cdt.core.resources
Class FileStorage
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.cdt.core.resources.FileStorage
-
- All Implemented Interfaces:
org.eclipse.core.resources.IStorage,org.eclipse.core.runtime.IAdaptable
public class FileStorage extends org.eclipse.core.runtime.PlatformObject implements org.eclipse.core.resources.IStorage- See Also:
IStorage
-
-
Constructor Summary
Constructors Constructor Description FileStorage(InputStream in, org.eclipse.core.runtime.IPath path)FileStorage(org.eclipse.core.runtime.IPath path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)InputStreamgetContents()org.eclipse.core.runtime.IPathgetFullPath()StringgetName()booleanisReadOnly()StringtoString()
-
-
-
Constructor Detail
-
FileStorage
public FileStorage(org.eclipse.core.runtime.IPath path)
-
FileStorage
public FileStorage(InputStream in, org.eclipse.core.runtime.IPath path)
-
-
Method Detail
-
getContents
public InputStream getContents() throws org.eclipse.core.runtime.CoreException
- Specified by:
getContentsin interfaceorg.eclipse.core.resources.IStorage- Throws:
org.eclipse.core.runtime.CoreException
-
getFullPath
public org.eclipse.core.runtime.IPath getFullPath()
- Specified by:
getFullPathin interfaceorg.eclipse.core.resources.IStorage- See Also:
IStorage.getFullPath()
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.core.resources.IStorage- See Also:
IStorage.getName()
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceorg.eclipse.core.resources.IStorage- See Also:
IStorage.isReadOnly()
-
toString
public String toString()
-
-