org.knime.core.data.util
Class NonClosableOutputStream.Zip
java.lang.Object
java.io.OutputStream
org.knime.core.data.util.NonClosableOutputStream
org.knime.core.data.util.NonClosableOutputStream.Zip
- All Implemented Interfaces:
- Closeable, Flushable
- Enclosing class:
- NonClosableOutputStream
public static final class NonClosableOutputStream.Zip
- extends NonClosableOutputStream
Special implementation that wraps ZipOutputStream
objects
and calls ZipOutputStream.closeEntry()
when the stream is closed.
Method Summary |
void |
close()
Closes the currently open zip entry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonClosableOutputStream.Zip
public NonClosableOutputStream.Zip(ZipOutputStream zipOut)
- Wraps a given zip output stream.
- Parameters:
zipOut
- The stream to wrap.
close
public void close()
throws IOException
- Closes the currently open zip entry.
- Specified by:
close
in interface Closeable
- Overrides:
close
in class NonClosableOutputStream
- 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.