Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/ZipFileEntryInputStream.java')
-rw-r--r--plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/ZipFileEntryInputStream.java45
1 files changed, 0 insertions, 45 deletions
diff --git a/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/ZipFileEntryInputStream.java b/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/ZipFileEntryInputStream.java
deleted file mode 100644
index 194d7ac6a..000000000
--- a/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/ZipFileEntryInputStream.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.internal.project;
-
-
-import java.io.FilterInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.zip.ZipFile;
-
-/**
- * This is a special wrapper class that cleans up after itself and closes the zip file when it is
- * closed
- */
-public class ZipFileEntryInputStream extends FilterInputStream {
- protected ZipFile owner;
-
- /**
- * Constructor for ZipFileEntryInputStream.
- *
- * @param in
- */
- public ZipFileEntryInputStream(InputStream in, ZipFile owningZipFile) {
- super(in);
- owner = owningZipFile;
- }
-
-
- /*
- * @see InputStream#close()
- */
- public void close() throws IOException {
- super.close();
- owner.close();
- }
-
-} \ No newline at end of file

Back to the top