public class ZipBundleEntry extends BundleEntry
| Modifier and Type | Field and Description |
|---|---|
protected ZipBundleFile |
bundleFile
The BundleFile for this entry.
|
protected ZipEntry |
zipEntry
ZipEntry for this entry.
|
BUF_SIZE| Modifier and Type | Method and Description |
|---|---|
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.
|
getBytes, toStringprotected final ZipEntry zipEntry
protected final ZipBundleFile bundleFile
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()
BundleEntrygetLocalURL in class BundleEntrypublic URL getFileURL()
BundleEntrygetFileURL in class BundleEntryCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.