Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/bundlefile/ZipBundleEntry.java')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/bundlefile/ZipBundleEntry.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/bundlefile/ZipBundleEntry.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/bundlefile/ZipBundleEntry.java
index 187874578..8dba5fdfc 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/bundlefile/ZipBundleEntry.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/bundlefile/ZipBundleEntry.java
@@ -52,6 +52,7 @@ public class ZipBundleEntry extends BundleEntry {
* @return InputStream for the entry
* @exception java.io.IOException
*/
+ @Override
public InputStream getInputStream() throws IOException {
return bundleFile.getInputStream(zipEntry);
}
@@ -61,6 +62,7 @@ public class ZipBundleEntry extends BundleEntry {
*
* @return size of entry
*/
+ @Override
public long getSize() {
return zipEntry.getSize();
}
@@ -70,6 +72,7 @@ public class ZipBundleEntry extends BundleEntry {
*
* @return name of entry
*/
+ @Override
public String getName() {
return zipEntry.getName();
}
@@ -81,11 +84,13 @@ public class ZipBundleEntry extends BundleEntry {
*
* @return last modification time.
*/
+ @Override
public long getTime() {
return zipEntry.getTime();
}
@SuppressWarnings("deprecation")
+ @Override
public URL getLocalURL() {
try {
return new URL("jar:" + bundleFile.basefile.toURL() + "!/" + zipEntry.getName()); //$NON-NLS-1$//$NON-NLS-2$
@@ -96,6 +101,7 @@ public class ZipBundleEntry extends BundleEntry {
}
@SuppressWarnings("deprecation")
+ @Override
public URL getFileURL() {
try {
File file = bundleFile.getFile(zipEntry.getName(), false);

Back to the top