|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.sourcelookup.containers.ZipEntryStorage
Storage implementation for zip entries.
This class may be instantiated; it is not intended to be subclassed.
IStorage
Constructor Summary | |
---|---|
ZipEntryStorage(ZipFile archive,
ZipEntry entry)
Constructs a new storage implementation for the given zip entry in the specified zip file |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
---|
getAdapter |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Constructor Detail |
public ZipEntryStorage(ZipFile archive, ZipEntry entry)
archive
- zip fileentry
- zip entryMethod Detail |
public InputStream getContents() throws CoreException
IStorage
getContents
in interface IStorage
CoreException
- if the contents of this storage could
not be accessed. See any refinements for more information.public IPath getFullPath()
IStorage
getFullPath
in interface IStorage
null
if none.public String getName()
IStorage
getName
in interface IStorage
null
if this storage has no nameIStorage.getFullPath()
public boolean isReadOnly()
IStorage
isReadOnly
in interface IStorage
true
if this storage is read-onlypublic ZipFile getArchive()
public ZipEntry getZipEntry()
public boolean equals(Object object)
public int hashCode()
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.