|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.osgi.baseadaptor.bundlefile.BundleEntry
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry
public class ZipBundleEntry
A BundleEntry represented by a ZipEntry in a ZipFile. The ZipBundleEntry class is used for bundles that are installed as a ZipFile on a file system.
| Field Summary | |
|---|---|
protected ZipBundleFile |
bundleFile
The BundleFile for this entry. |
protected ZipEntry |
zipEntry
ZipEntry for this entry. |
| Fields inherited from class org.eclipse.osgi.baseadaptor.bundlefile.BundleEntry |
|---|
BUF_SIZE |
| Method Summary | |
|---|---|
URL |
getFileURL()
Get a URL to the content of the bundle entry that uses the file: protocol. |
InputStream |
getInputStream()
Return an InputStream for the entry. |
URL |
getLocalURL()
Get a URL to the bundle entry that uses a common protocol (i.e. |
String |
getName()
Return name of the entry. |
long |
getSize()
Return size of the uncompressed entry. |
long |
getTime()
Get the modification time for this BundleEntry. |
| Methods inherited from class org.eclipse.osgi.baseadaptor.bundlefile.BundleEntry |
|---|
getBytes, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final ZipEntry zipEntry
protected final ZipBundleFile bundleFile
| Method Detail |
|---|
public InputStream getInputStream()
throws IOException
getInputStream in class BundleEntryIOExceptionpublic long getSize()
getSize in class BundleEntrypublic String getName()
getName in class BundleEntrypublic long getTime()
If the modification time has not been set, this method will return -1.
getTime in class BundleEntrypublic URL getLocalURL()
BundleEntry
getLocalURL in class BundleEntrypublic URL getFileURL()
BundleEntry
getFileURL in class BundleEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||