|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.PlatformObject | +--org.eclipse.jdt.launching.sourcelookup.ZipEntryStorage
Storage implementation for zip entries.
This class may be instantiated; it is not intended to be subclassed.
ArchiveSourceLocation
,
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()
|
IPath |
getFullPath()
|
String |
getName()
|
ZipEntry |
getZipEntry()
Returns the entry that contains the source |
int |
hashCode()
|
boolean |
isReadOnly()
|
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
getContents
in interface IStorage
CoreException
IStorage.getContents()
public IPath getFullPath()
getFullPath
in interface IStorage
IStorage.getFullPath()
public String getName()
getName
in interface IStorage
IStorage.getName()
public boolean isReadOnly()
isReadOnly
in interface IStorage
IStorage.isReadOnly()
public ZipFile getArchive()
public ZipEntry getZipEntry()
public boolean equals(Object object)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |