Home
last modified time | relevance | path

Searched refs:zipFile (Results 1 – 3 of 3) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DUncompress.java519 ZipFile zipFile = null; in unzipFromFile() local
522 zipFile = new ZipFile(new File(srcPath)); in unzipFromFile()
532 … for (Enumeration<? extends ZipEntry> entries = zipFile.entries(); entries.hasMoreElements(); ) { in unzipFromFile()
566 dataTransfer(zipFile, entry, destFile); in unzipFromFile()
578 Utility.closeStream(zipFile); in unzipFromFile()
590 …private static void dataTransfer(ZipFile zipFile, ZipEntry entry, File destFile) throws BundleExce… in dataTransfer() argument
598 fileInputStream = zipFile.getInputStream(entry); in dataTransfer()
625 ZipFile zipFile = null; in dataTransferAllFiles() local
630 zipFile = new ZipFile(new File(srcPath)); in dataTransferAllFiles()
632 … for (Enumeration<? extends ZipEntry> entries = zipFile.entries(); entries.hasMoreElements(); ) { in dataTransferAllFiles()
[all …]
DFileUtils.java207 ZipFile zipFile = null; in unzip() local
212 zipFile = new ZipFile(hapPath); in unzip()
213 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in unzip()
230 bis = new BufferedInputStream(zipFile.getInputStream(entry)); in unzip()
259 closeStream(zipFile); in unzip()
388 ZipFile zipFile = null; in getJsonInZips() local
397 zipFile = new ZipFile(srcFile); in getJsonInZips()
402 inputStream = zipFile.getInputStream(entry); in getJsonInZips()
417 Utility.closeStream(zipFile); in getJsonInZips()
433 static HashMap<String, String> getProfileJson(ZipFile zipFile) throws BundleException { in getProfileJson() argument
[all …]
DCompressor.java1127 ZipFile zipFile = null; in copyHapAndHspFromApp() local
1133 zipFile = new ZipFile(appPath); in copyHapAndHspFromApp()
1151 inputStream = zipFile.getInputStream(zipEntry); in copyHapAndHspFromApp()
1165 Utility.closeStream(zipFile); in copyHapAndHspFromApp()
2340 ZipFile zipFile = null; in readStageHapVerifyInfo() local
2343 zipFile = new ZipFile(srcFile); in readStageHapVerifyInfo()
2344 hapVerifyInfo.setResourceMap(FileUtils.getProfileJson(zipFile)); in readStageHapVerifyInfo()
2345 hapVerifyInfo.setProfileStr(FileUtils.getFileStringFromZip(MODULE_JSON, zipFile)); in readStageHapVerifyInfo()
2350 Utility.closeStream(zipFile); in readStageHapVerifyInfo()
2364 ZipFile zipFile = null; in readFAHapVerifyInfo() local
[all …]