Lines Matching refs:name

64     private final String name;     // zip file name
103 * method is called with the <code>name</code> argument as its argument
109 * @param name the name of the zip file
117 public ZipFile(String name) throws IOException {
118 this(new File(name), OPEN_READ);
127 * method is called with the <code>name</code> argument as its argument to
172 * method is called with the <code>name</code> argument as its argument to
179 * be used to decode the ZIP entry name and comment that are not
210 String name = file.getPath();
218 jzfile = open(name, mode, file.lastModified(), usemmap);
219 this.name = name;
237 * method is called with the <code>name</code> argument as its argument
240 * @param name the name of the zip file
243 * be used to decode the ZIP entry name and comment that are not
257 public ZipFile(String name, Charset charset) throws IOException
259 this(new File(name), OPEN_READ, charset);
267 * used to decode the ZIP entry name and comment (ignored if
302 * Returns the zip file entry for the specified name, or null
305 * @param name the name of the entry
309 public ZipEntry getEntry(String name) {
310 if (name == null) {
311 throw new NullPointerException("name");
316 jzentry = getEntry(jzfile, zc.getBytes(name), true);
318 ZipEntry ze = getZipEntry(name, jzentry);
326 private static native long getEntry(long jzfile, byte[] name,
359 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true);
361 jzentry = getEntry(jzfile, zc.getBytes(entry.name), true);
479 * Returns the path name of the ZIP file.
480 * @return the path name of the ZIP file
483 return name;
518 ",\n name = " + ZipFile.this.name +
531 private ZipEntry getZipEntry(String name, long jzentry) {
534 if (name != null) {
535 e.name = name;
539 e.name = zc.toStringUTF8(bname, bname.length);
541 e.name = zc.toString(bname, bname.length);
774 private static native long open(String name, int mode, long lastModified,