MCPcopy Index your code
hub / github.com/dumbledore/AlbiteREADER / ZipEntry

Method ZipEntry

src/gnu/zip/ZipEntry.java:92–98  ·  view source on GitHub ↗

Creates a zip entry with the given name. @param name the name. May include directory components separated by '/'. @exception NullPointerException when name is null. @exception IllegalArgumentException when name is bigger then 65535 chars.

(String name)

Source from the content-addressed store, hash-verified

90 * @exception IllegalArgumentException when name is bigger then 65535 chars.
91 */
92 public ZipEntry(String name)
93 {
94 int length = name.length();
95 if (length > 65535)
96 throw new IllegalArgumentException("name length is " + length);
97 this.name = name;
98 }
99
100 /**
101 * Creates a copy of the given zip entry.

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected