public interface IStorage extends IAdaptable
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.
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContents()
Returns an open input stream on the contents of this storage.
|
IPath |
getFullPath()
Returns the full path of this storage.
|
String |
getName()
Returns the name of this storage.
|
boolean |
isReadOnly()
Returns whether this storage is read-only.
|
getAdapterInputStream getContents() throws CoreException
CoreException - if the contents of this storage could
not be accessed. See any refinements for more information.IPath getFullPath()
null if none.String getName()
null if this storage has no namegetFullPath()boolean isReadOnly()
true if this storage is read-only
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.