|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStorage
A storage object represents a set of bytes which can be accessed.
These may be in the form of an IFile
or IFileState
or any other object supplied by user code. The main role of an IStorage
is to provide a uniform API for access to, and presentation of, its content.
Storage objects implement the IAdaptable
interface;
extensions are managed by the platform's adapter manager.
Clients may implement this interface.
Method Summary | |
---|---|
java.io.InputStream |
getContents()
Returns an open input stream on the contents of this storage. |
org.eclipse.core.runtime.IPath |
getFullPath()
Returns the full path of this storage. |
java.lang.String |
getName()
Returns the name of this storage. |
boolean |
isReadOnly()
Returns whether this storage is read-only. |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
java.io.InputStream getContents() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- if the contents of this storage could
not be accessed. See any refinements for more information.org.eclipse.core.runtime.IPath getFullPath()
null
if none.java.lang.String getName()
null
if this storage has no namegetFullPath()
boolean isReadOnly()
true
if this storage is read-only
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |