2728293031323334353637
if (nextEntry == null) { break; } if (nextEntry.getName().equals(name)) { byte[] bytes = StreamUtils.readFully(zIn); return new MemoryContent(bytes).toURL(); } } } finally { if (zIn != null) { zIn.close();
36373839404142434445464748
try { in = zipFile.getInputStream(new ZipEntry(name)); if (in == null) { return null; } MemoryContent content = new MemoryContent(StreamUtils .readFully(in)); return content.toURL(); } finally { if (in != null) { in.close(); } }
3940414243444546474849
} if (innerEntry.isDirectory()) { continue; } if (innerEntry.getName().equals(name)) { return new MemoryContent(StreamUtils.readFully(zIn)) .toURL(); } } return null; } finally {
9899100101102103104105106107
if (bytes == null) { return null; } try { return new MemoryContent(bytes, name).toURL(); } catch (MalformedURLException exc) { throw new RuntimeException(exc); } }