Lines Matching defs:entry

47         public final ZipEntry entry;
49 public XEntry(ZipEntry entry, long offset) {
50 this.entry = entry;
99 * to encode the entry names and comments.
113 * to be used to encode the entry names and comments
142 * for an individual ZIP file entry, and is initially set to DEFLATED.
165 * Begins writing a new ZIP file entry and positions the stream to the
166 * start of the entry data. Closes the current entry if still active.
168 * was specified for the entry, and the current time will be used if
169 * the entry has no set modification time.
170 * @param e the ZIP entry to be written
177 closeEntry(); // close previous entry
190 // immediately following the compressed entry data
204 "STORED entry where compressed != uncompressed size");
208 "STORED entry missing size, compressed size, or crc-32");
215 throw new ZipException("duplicate entry: " + e.name);
225 * Closes the current ZIP entry and positions the stream for writing
226 * the next entry.
233 ZipEntry e = current.entry;
244 "invalid entry size (expected " + e.size +
249 "invalid entry compressed size (expected " +
254 "invalid entry CRC-32 (expected 0x" +
271 "invalid entry size (expected " + e.size +
276 "invalid entry crc-32 (expected 0x" +
290 * Writes an array of bytes to the current ZIP entry data. This method
309 throw new ZipException("no current ZIP entry");
311 ZipEntry entry = current.entry;
312 switch (entry.method) {
318 if (written - locoff > entry.size) {
320 "attempt to write past end of STORED entry");
366 * Writes local file (LOC) header for specified entry.
369 ZipEntry e = xentry.entry;
383 // immediately following compressed entry data
424 * Writes extra data descriptor (EXT) for specified entry.
439 * Write central directory (CEN) header for specified entry.
443 ZipEntry e = xentry.entry;