public class FileStorage
extends org.eclipse.core.runtime.PlatformObject
implements org.eclipse.core.resources.IStorage
IStorage
Constructor and Description |
---|
FileStorage(InputStream in,
org.eclipse.core.runtime.IPath path) |
FileStorage(org.eclipse.core.runtime.IPath path) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
InputStream |
getContents() |
org.eclipse.core.runtime.IPath |
getFullPath() |
String |
getName() |
boolean |
isReadOnly() |
String |
toString() |
public FileStorage(org.eclipse.core.runtime.IPath path)
public FileStorage(InputStream in, org.eclipse.core.runtime.IPath path)
public InputStream getContents() throws org.eclipse.core.runtime.CoreException
getContents
in interface org.eclipse.core.resources.IStorage
org.eclipse.core.runtime.CoreException
public org.eclipse.core.runtime.IPath getFullPath()
getFullPath
in interface org.eclipse.core.resources.IStorage
IStorage.getFullPath()
public String getName()
getName
in interface org.eclipse.core.resources.IStorage
IStorage.getName()
public boolean isReadOnly()
isReadOnly
in interface org.eclipse.core.resources.IStorage
IStorage.isReadOnly()
public String toString()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.