public class ZipEntryStorage extends PlatformObject implements IStorage
This class may be instantiated; it is not intended to be subclassed.
IStorage| Constructor and Description |
|---|
ZipEntryStorage(ZipFile archive,
ZipEntry entry)
Constructs a new storage implementation for the
given zip entry in the specified zip file
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
ZipFile |
getArchive()
Returns the archive containing the zip entry.
|
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.
|
ZipEntry |
getZipEntry()
Returns the entry that contains the source
|
int |
hashCode() |
boolean |
isReadOnly()
Returns whether this storage is read-only.
|
getAdapterclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAdapterpublic InputStream getContents() throws CoreException
IStoragegetContents in interface IStorageCoreException - if the contents of this storage could
not be accessed. See any refinements for more information.public IPath getFullPath()
IStoragegetFullPath in interface IStoragenull if none.public String getName()
IStoragegetName in interface IStoragenull if this storage has no nameIStorage.getFullPath()public boolean isReadOnly()
IStorageisReadOnly in interface IStoragetrue if this storage is read-onlypublic ZipFile getArchive()
public ZipEntry getZipEntry()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.