MCPcopy Create free account
hub / github.com/ReadyTalk/avian / getEntry

Method getEntry

classpath/java/util/zip/ZipFile.java:76–82  ·  view source on GitHub ↗
(EntryFactory factory, String name)

Source from the content-addressed store, hash-verified

74 }
75
76 protected ZipEntry getEntry(EntryFactory factory, String name) {
77 while (name.startsWith("/")) {
78 name = name.substring(1);
79 }
80 Integer pointer = index.get(name);
81 return (pointer == null ? null : factory.makeEntry(window, pointer));
82 }
83
84 public ZipEntry getEntry(String name) {
85 return getEntry(ZipEntryFactory.Instance, name);

Callers 1

getJarEntryMethod · 0.80

Calls 4

startsWithMethod · 0.80
getMethod · 0.65
makeEntryMethod · 0.65
substringMethod · 0.45

Tested by

no test coverage detected