public class FileBundleEntry extends BundleEntry
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
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.