??????????? ????? ZIP -???????

?????

Aspose.zip API ?????????? ????????? ???????? ?????? ?????????.�???????? ?????? ?????? ?????? ?????? ???? ???????? ?????????, ????? ?????? ????? ?????????????? ????????? ??????.

zip ???????????????: ?????????

?????????????? ????????????, ??? ??????? ?? ??, ?? ????? ??????? ???? ????????????? ? ?????????? ?????? ?????????.

???????????? parallelcompressInmemory ( getParalleLcompressInmemory/ setParallEcressInmemory) ?????? ?? ?????????, ??? ?? ???????? ??? ????????????????. ??? ??? ????????:

?? ?????? ??? ????? ? ??????? ???????? ???????????? ????????? ?? ????? ??????? ?????, ??? ?????????, ??? ???????? ???????????? ? ?????? ???????.

??????

 1????????? (fileOutputStream Zipfile = ????? FileOutputStream ("archive.zip")) {
 2    ????????? (????? ????? = ????? ????? ()) {
 3        Archive.createEntry ("first.bin", "data1.bin");
 4        ...
 5        Archive.createEntry ("last.bin", "datan.bin");
 6        ???????????? ???????????? = ???? ???????????? ();
 7        paralleloptions.setparallelcompressinmemory (parallelcompressionmode.always);
 8        ArchivesaveOptions Options = ???? ?????????????? ();
 9        ?????????.setParallelOloptions (????????????);
10        Archive.save (Zipfile, ????????);
11    }
12} ???? (IOException ex) {
13    System.out.println (ex);
14}
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.