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, toString
protected final ZipEntry zipEntry
protected final ZipBundleFile bundleFile
public InputStream getInputStream() throws IOException
getInputStream
in class BundleEntry
IOException
public long getSize()
getSize
in class BundleEntry
public String getName()
getName
in class BundleEntry
public long getTime()
If the modification time has not been set, this method will return -1.
getTime
in class BundleEntry
public URL getLocalURL()
BundleEntry
getLocalURL
in class BundleEntry
public URL getFileURL()
BundleEntry
getFileURL
in class BundleEntry
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.