|
Eclipse Platform Release 3.6 |
|||||||||
| 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
public class ZipEntryStorage
Storage implementation for zip entries.
This class may be instantiated.
IStorage| Constructor Summary | |
|---|---|
ZipEntryStorage(java.util.zip.ZipFile archive,
java.util.zip.ZipEntry entry)
Constructs a new storage implementation for the given zip entry in the specified zip file |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
java.util.zip.ZipFile |
getArchive()
Returns the archive containing the zip entry. |
java.io.InputStream |
getContents()
Returns an open input stream on the contents of this storage. |
IPath |
getFullPath()
Returns the full path of this storage. |
java.lang.String |
getName()
Returns the name of this storage. |
java.util.zip.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(java.util.zip.ZipFile archive,
java.util.zip.ZipEntry entry)
archive - zip fileentry - zip entry| Method Detail |
|---|
public java.io.InputStream getContents()
throws CoreException
IStorage
getContents in interface IStorageCoreException - if the contents of this storage could
not be accessed. See any refinements for more information.public IPath getFullPath()
IStorage
getFullPath in interface IStoragenull if none.public java.lang.String getName()
IStorage
getName in interface IStoragenull if this storage has no nameIStorage.getFullPath()public boolean isReadOnly()
IStorage
isReadOnly in interface IStoragetrue if this storage is read-onlypublic java.util.zip.ZipFile getArchive()
public java.util.zip.ZipEntry getZipEntry()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.