Searched defs:zipFile (Results 1 - 9 of 9) sorted by relevance

/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/
H A DInstallNodeBaseCommand.java89 abstract void copyToHosts(File zipFile, ArrayList<String> binDirFiles) throws CommandException; argument
112 File zipFile = null;
117 zipFile = createZipFileIfNeeded(binDirFiles);
118 copyToHosts(zipFile, binDirFiles);
128 if (zipFile != null) {
129 if (!zipFile.delete())
130 zipFile.deleteOnExit();
H A DInstallNodeDcomCommand.java109 void copyToHosts(File zipFile, ArrayList<String> binDirFiles) throws CommandException { argument
111 copyToHostsInternal(zipFile, binDirFiles);
155 private void copyToHostsInternal(File zipFile, ArrayList<String> binDirFiles) argument
168 System.out.printf("Copying %d bytes", zipFile.length());
169 remoteZip.copyFrom(zipFile, new WindowsRemoteFileCopyProgress() {
H A DInstallNodeSshCommand.java115 void copyToHosts(File zipFile, ArrayList<String> binDirFiles) throws CommandException { argument
121 copyToHostsInternal(zipFile, binDirFiles);
134 private void copyToHostsInternal(File zipFile, ArrayList<String> binDirFiles) throws IOException, InterruptedException, CommandException { argument
184 String zip = zipFile.getCanonicalPath();
186 logger.info("Copying " + zip + " (" + zipFile.length() + " bytes)"
190 scpClient.put(zipFile.getAbsolutePath(), FileUtils.quoteString(sshInstallDir));
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/zip/
H A DZipFile.java77 public ZipFile(File zipFile, File anExplodeDir) throws ZipFileException argument
79 checkZipFile(zipFile);
84 bis = new BufferedInputStream(new FileInputStream(zipFile), BUFFER_SIZE);
86 this.zipFile = zipFile;
126 zin = zipStream; // new ZipInputStream(new FileInputStream(zipFile));
161 _utillogger.log(Level.FINE, "File " + fullpath.getAbsolutePath() + " is being overwritten during expansion of " + (zipFile != null ? ("file " + zipFile.getAbsolutePath() ) : "stream"));
330 private void checkZipFile(File zipFile) throws ZipFileException argument
332 insist(zipFile !
456 private File zipFile = null; field in class:ZipFile
[all...]
/glassfish-3.1.2/installer/src/cpp/share/launcher/
H A Dsetup.h89 jzfile *zipFile; local
94 if (execname && (zipFile = zipOpen(execname, &zipError)) != NULL)
103 if (UnzipFiles(zipFile, apphome, jrepath + apphomelen + 1))
108 zipClose(zipFile);
H A Djava.c117 jzfile *zipFile; local
289 if ((zipFile = zipOpen(execname, &zipError)) != NULL)
295 while ((zipEntry = zipGetNextEntry(zipFile, i++)) != NULL)
298 zipFreeEntry(zipFile, zipEntry);
300 zipClose(zipFile);
398 if ((zipFile = zipOpen(execname, &zipError)) != NULL)
404 if (!UnzipFiles(zipFile, workdir, NULL))
412 zipClose(zipFile);
422 if ((zipFile = zipOpen(jdkZipFile, &zipError)) != NULL)
429 if (!UnzipFiles(zipFile, workdi
1610 UnzipFiles(jzfile *zipFile, const char *outputDir, const char *entrySubdir) argument
[all...]
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/util/
H A DClassFileSource.java75 private ZipFile zipFile = null; field in class:ClassFileSource
119 other.zipFile.getName().equals(zipFile.getName()));
134 return zipFile != null;
165 return zipFile.getName();
204 * @param zipFile The zip file containing the class. This file should
207 public ClassFileSource(String className, ZipFile zipFile) { argument
212 this.zipFile = zipFile;
255 return new ClassFileSource(className, zipFile);
[all...]
H A DClassPathElement.java228 private ZipFile zipFile; field in class:ZipFileClassPathElement
237 if (zipFile != null) {
239 zipFile.getEntry(ClassPath.zipFileNameOf(className));
241 return new ClassFileSource(className, zipFile);
248 if (zipFile == null)
251 return new ZipFileClassPackageEnumerator(zipFile, packageName);
272 zipFile = ZipFileRegistry.openZipFile(zipFileElement);
276 zipFile = null;
351 ZipFileClassPackageEnumerator(ZipFile zipFile, String packageName) { argument
352 zipFileEntries = zipFile
[all...]
/glassfish-3.1.2/common/common-util/src/test/java/org/glassfish/admin/payload/
H A DPayloadImplTest.java175 File zipFile = null;
181 zipFile = writePayloadToFile(outboundPayload, File.createTempFile("payloadZip", ".zip"));
183 preparePFM(zipFile);
198 deleteAndLogFailure(zipFile);
218 File zipFile = null;
226 zipFile = writePayloadToFile(outboundPayload, File.createTempFile("payloadZip", ".zip"));
230 for (Map.Entry<File,Properties> entry : preparePFM(zipFile).entrySet()) {
248 deleteAndLogFailure(zipFile);
264 File zipFile = null;
285 zipFile
326 preparePFM(final File zipFile) argument
[all...]

Completed in 1140 milliseconds