InputStream getInputStream(ZipEntry entry) throws IOException { if (!lockOpen()) { throw new IOException("Failed to open zip file."); //$NON-NLS-1$ } try { InputStream zipStream = zipFile.getInputStream(entry); if (isMruEnabled()) { zipStream = new ZipBundleEntryInputStream(zipStream); } return zipStream; } finally { openLock.unlock(); } }
public void close() throws IOException { try { super.close(); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } finally { synchronized (this) { if (streamClosed) return; streamClosed = true; } decrementReference(); } }
InputStream getInputStream(ZipEntry entry) throws IOException { if (!lockOpen()) { throw new IOException("Failed to open zip file."); //$NON-NLS-1$ } try { InputStream zipStream = zipFile.getInputStream(entry); if (isMruEnabled()) { zipStream = new ZipBundleEntryInputStream(zipStream); } return zipStream; } finally { openLock.unlock(); } }
public void close() throws IOException { try { super.close(); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } finally { synchronized (this) { if (streamClosed) return; streamClosed = true; } decrementReference(); } }
public long skip(long var0) throws IOException { try { return super.skip(var0); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public void reset() throws IOException { try { super.reset(); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public int read(byte[] var0) throws IOException { try { return super.read(var0); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public int read(byte[] var0, int var1, int var2) throws IOException { try { return super.read(var0, var1, var2); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public int read(byte[] var0) throws IOException { try { return super.read(var0); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public int read() throws IOException { try { return super.read(); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public void reset() throws IOException { try { super.reset(); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public int available() throws IOException { try { return super.available(); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public int available() throws IOException { try { return super.available(); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public int read(byte[] var0, int var1, int var2) throws IOException { try { return super.read(var0, var1, var2); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public long skip(long var0) throws IOException { try { return super.skip(var0); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }
public int read() throws IOException { try { return super.read(); } catch (IOException e) { throw enrichExceptionWithBaseFile(e); } }