org.knime.core.data.util
Class NonClosableInputStream.Zip
java.lang.Object
java.io.InputStream
org.knime.core.data.util.NonClosableInputStream
org.knime.core.data.util.NonClosableInputStream.Zip
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- NonClosableInputStream
public static final class NonClosableInputStream.Zip
- extends NonClosableInputStream
Special implementation that wraps ZipInputStream
objects
and calls ZipInputStream.closeEntry()
when the stream is closed.
Method Summary |
void |
close()
Closes the currently open zip entry. |
NonClosableInputStream.Zip
public NonClosableInputStream.Zip(ZipInputStream zipIn)
- Wraps a given zip input stream.
- Parameters:
zipIn
- The stream to wrap.
close
public void close()
throws IOException
- Closes the currently open zip entry.
Does NOT delegate to wrapped input stream, ignores call.
- Specified by:
close
in interface Closeable
- Overrides:
close
in class NonClosableInputStream
- Throws:
IOException
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.