Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public final class ManuallyCloseableZipInputStream extends ZipInputStream {
- public ManuallyCloseableZipInputStream(InputStream in) {
- super(in);
- }
- public ManuallyCloseableZipInputStream(InputStream in, Charset charset) {
- super(in, charset);
- }
- @Override
- public void close() throws IOException {
- // do nothing
- }
- public void closeManually() throws IOException {
- super.close();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment