Lines Matching defs:to

8  * particular file as subject to the "Classpath" exception as provided
18 * 2 along with this work; if not, write to the Free Software Foundation,
55 // An entryName(path)->File map generated during "expand", it helps to
56 // decide whether or not an existing entry in a jar file needs to be
60 // All files need to be added/updated.
84 * If true, maintain compatibility with JDK releases prior to 6.0 by
86 * Default is to use the time given in the archive.
157 // zip file entry. We use this to make sure that we don't
158 // add the zip file to itself.
414 /* just want to update the manifest */
426 * Expands list of files to process into full list of all files that
503 * We don't want case comparison to be locale-dependent (else we
703 * Adds a new file entry to the ZIP output stream.
769 * Copies all bytes from the input stream to the output stream.
772 * @param from the input stream to read from
773 * @param to the output stream to write to
776 private void copy(InputStream from, OutputStream to) throws IOException {
779 to.write(copyBuf, 0, n);
783 * Copies all bytes from the input file to the output stream.
786 * @param from the input file to read from
787 * @param to the output stream to write to
790 private void copy(File from, OutputStream to) throws IOException {
793 copy(in, to);
800 * Copies all bytes from the input stream to the output file.
803 * @param from the input stream to read from
804 * @param to the output file to write to
807 private void copy(InputStream from, File to) throws IOException {
808 OutputStream out = new FileOutputStream(to);
924 * the entry is for a directory which doesn't exist prior to this
1013 * Outputs the class index table to the INDEX.LIST file of the
1050 // '/' as separators, so we need to change them to the
1173 * Main routine to start program.
1182 * It's here to find the CRC32 of an input file, necessary for STORED