@Override public void nextEntry() { try { entry = jarInputStream.getNextJarEntry(); } catch (IOException ioe) { entry = null; } }
@Override public void nextEntry() { try { entry = jarInputStream.getNextJarEntry(); } catch (IOException ioe) { entry = null; } }
@Override public void nextEntry() { try { entry = jarInputStream.getNextJarEntry(); } catch (IOException ioe) { entry = null; } }
@Override public boolean entryExists(String name) throws IOException { JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } return entry != null; }
@Override public boolean entryExists(String name) throws IOException { JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } return entry != null; }
@Override public boolean entryExists(String name) throws IOException { JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } return entry != null; }
@Override public InputStream getInputStream(String name) throws IOException { JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return null; } else { return jarInputStream; } }
@Override public InputStream getInputStream(String name) throws IOException { JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return null; } else { return jarInputStream; } }
@Override public InputStream getInputStream(String name) throws IOException { JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return null; } else { return jarInputStream; } }
@Override public boolean entryExists(String name) throws IOException { reset(); JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } return entry != null; }
@Override public boolean entryExists(String name) throws IOException { reset(); JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } return entry != null; }
@Override public InputStream getInputStream(String name) throws IOException { reset(); JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return null; } else { return jarInputStream; } }
@Override public long getLastModified(String name) throws IOException { JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return -1; } else { return entry.getTime(); } }
@Override public long getLastModified(String name) throws IOException { JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return -1; } else { return entry.getTime(); } }
@Override public InputStream getInputStream(String name) throws IOException { reset(); JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return null; } else { return jarInputStream; } }
@Override public long getLastModified(String name) throws IOException { reset(); JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return -1; } else { return entry.getTime(); } }
@Override public long getLastModified(String name) throws IOException { reset(); JarEntry entry = jarInputStream.getNextJarEntry(); while (entry != null) { if (name.equals(entry.getName())) { break; } entry = jarInputStream.getNextJarEntry(); } if (entry == null) { return -1; } else { return entry.getTime(); } }
@Override public void nextEntry() { if (jarInputStream == null) { try { jarInputStream = createJarInputStream(); } catch (IOException e) { entry = null; return; } } try { entry = jarInputStream.getNextJarEntry(); } catch (IOException ioe) { entry = null; } }
@Override public void nextEntry() { if (jarInputStream == null) { try { jarInputStream = createJarInputStream(); } catch (IOException e) { entry = null; return; } } try { entry = jarInputStream.getNextJarEntry(); } catch (IOException ioe) { entry = null; } }
JarEntry jarEntry = jarInputStream.getNextJarEntry(); while (jarEntry != null) { if (name.equals(jarEntry.getName())) { break; jarEntry = jarInputStream.getNextJarEntry();