????? xar ?????
Contents
[
Hide
Show
]?????
Xar - ?????????? ?????? ??????????? Mac OS. ?? ?????? ????????? ????? ????? ? Aspope.zip ??????????, ?? ???? ??????.
Aspose.zip ???? ????????? ?????? XAR, ???????? ? GZIP, BZIP2, LZMA.
????????? ?????
?????? ?? ???????? ??????? ?????? ?? ??????.
1????????? (xararchive Archive = ????? Xararchive ("data.xar")) {
2 ??? (xarentry ?????: archive.getentries ()) {
3 if (ention instanceof xarfileentry) {
4 Xarfileentry xarfileentry = (xarfileentry) ?????;
5 xarfileentry.extract ("?????????/" + entner.getfludlpath ());
6 }
7 }
8}????????? ???????????
?????? ?? ??????? ??????? ???? ????? ? ????????.
1????????? (xararchive Archive = ????? Xararchive ("data.xar")) {
2 Archive.extracttodirectory ("????");
3}