/openjdk7/jdk/test/java/util/zip/ |
H A D | ReadLoc.java | 39 ZipFile zipFile = new ZipFile(zFile1); 40 List entries = Collections.list(zipFile.entries()); 43 InputStream in = zipFile.getInputStream(zipEntry);
|
H A D | LargeZip.java | 136 ZipFile zipFile = new ZipFile(largeFile); 141 Enumeration<? extends ZipEntry> entries = zipFile.entries(); 147 try (InputStream zeis = zipFile.getInputStream(entry)) { 157 InputStream is = zipFile.getInputStream(entry);
|
/openjdk7/jdk/test/java/util/zip/ZipFile/ |
H A D | ShortRead.java | 49 try (ZipFile zipFile = new ZipFile(zFile)) { 50 final ZipEntry zentry = zipFile.getEntry(entryName); 51 final InputStream inputStream = zipFile.getInputStream(zentry);
|
H A D | ManyEntries.java | 55 File zipFile = new File(++uniquifier + ".zip"); 57 zipFile.delete(); 58 try (FileOutputStream fos = new FileOutputStream(zipFile); 80 try (ZipFile zip = new ZipFile(zipFile)) { 105 zipFile.delete();
|
H A D | Comment.java | 76 try (ZipFile zipFile = new ZipFile(name)) { 77 ZipEntry zipEntry = zipFile.getEntry(entryName); 78 InputStream is = zipFile.getInputStream(zipEntry);
|
H A D | LargeZipFile.java | 114 try (ZipFile zipFile = new ZipFile(largeFile)) { 118 Enumeration<? extends ZipEntry> entries = zipFile.entries(); 129 InputStream is = zipFile.getInputStream(entry);
|
/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | ClassFile.java | 52 private ZipFile zipFile; field in class:ClassFile 66 this.zipFile = zf; 74 return zipFile != null; 85 return zipFile.getInputStream(zipEntry); 122 return zipFile.getName() + "(" + zipEntry.getName() + ")"; 146 absoluteName = zipFile.getName() + "(" + zipEntry.getName() + ")";
|
/openjdk7/langtools/test/tools/javap/ |
H A D | T6474890.java | 46 File zipFile = zip(classDir, new File(classDir + ".zip")); 47 javap("-classpath", zipFile.getPath(), className); 50 javap("-classpath", zipFile.getPath(), className); 68 File zip(File dir, File zipFile) throws IOException { argument 69 ZipOutputStream zipOut = new ZipOutputStream(new FileOutputStream(zipFile)); 82 return zipFile;
|
H A D | T6879371.java | 61 File zipFile = zip(classDir, new File(classDir + ".zip")); 62 javap("-classpath", zipFile.getPath(), className); 64 if (!zipFile.delete()) 65 throw new Exception("failed to delete " + zipFile); 86 File zip(File dir, File zipFile) throws IOException { argument 87 ZipOutputStream zipOut = new ZipOutputStream(new FileOutputStream(zipFile)); 100 return zipFile;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | ZipFileIndexCache.java | 93 public synchronized ZipFileIndex getZipFileIndex(File zipFile, argument 97 ZipFileIndex zi = getExistingZipIndex(zipFile); 99 if (zi == null || (zi != null && zipFile.lastModified() != zi.zipFileLastModified)) { 100 zi = new ZipFileIndex(zipFile, symbolFilePrefix, writeIndex, 102 map.put(zipFile, zi); 107 public synchronized ZipFileIndex getExistingZipIndex(File zipFile) { argument 108 return map.get(zipFile); 146 map.put(zfi.zipFile, zfi);
|
H A D | ZipFileIndex.java | 95 final File zipFile; field in class:ZipFileIndex 122 ZipFileIndex(File zipFile, RelativeDirectory symbolFilePrefix, boolean writeIndex, argument 124 this.zipFile = zipFile; 132 if (zipFile != null) { 133 this.zipFileLastModified = zipFile.lastModified(); 142 return "ZipFileIndex[" + zipFile + "]"; 153 if (zipFile != null 154 && ((!NON_BATCH_MODE) || zipFileLastModified == zipFile.lastModified()) 203 if (zipRandomFile == null && zipFile ! [all...] |
H A D | ZipArchive.java | 175 File zipFile = new File(zarch.zfile.getName()); 176 return createJarUri(zipFile, entry.getName());
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ |
H A D | WsimportTool.java | 312 File zipFile = new File(options.clientjar); 313 if(!zipFile.isAbsolute()) { 314 zipFile = new File(options.destDir, options.clientjar); 317 if (zipFile.exists()) { 322 listener.message(WscompileMessages.WSIMPORT_ARCHIVING_ARTIFACTS(zipFile)); 325 fos = new FileOutputStream(zipFile); 357 File zipFile = new File(options.clientjar); 358 if(!zipFile.isAbsolute()) { 359 zipFile = new File(options.destDir, options.clientjar); 362 if (zipFile [all...] |
/openjdk7/jdk/test/java/nio/charset/Charset/ |
H A D | NIOCharsetAvailabilityTest.java | 208 ZipInputStream zipFile = new ZipInputStream(new FileInputStream(f)); 210 while ((entry = zipFile.getNextEntry()) != null) {
|
/openjdk7/jdk/src/share/classes/sun/security/tools/ |
H A D | JarSigner.java | 156 private ZipFile zipFile = null; field in class:JarSigner 1058 zipFile = new ZipFile(jarName); 1092 if ((mfFile = getManifestFile(zipFile)) != null) { 1094 mfRawBytes = getBytes(zipFile, mfFile); 1126 for (Enumeration<? extends ZipEntry> enum_=zipFile.entries(); 1149 if (updateDigests(ze, zipFile, digests, encoder, 1155 Attributes attrs = getDigestAttributes(ze, zipFile, 1236 zipFile); 1262 if (zipFile.getEntry(sfFilename) != null) { 1299 if (zipFile 2222 generateBlock(PrivateKey privateKey, String sigalg, X509Certificate[] certChain, boolean externalSF, String tsaUrl, X509Certificate tsaCert, ContentSigner signingMechanism, String[] args, ZipFile zipFile) argument 2245 Block(SignatureFile sfg, PrivateKey privateKey, String sigalg, X509Certificate[] certChain, boolean externalSF, String tsaUrl, X509Certificate tsaCert, ContentSigner signingMechanism, String[] args, ZipFile zipFile) argument [all...] |