?????????? XAR Archive

?????

XAR ???????? ?????????? ???????? ????????????? Mac OS. ?? ?????? ??????? ????? ????? ? Aspose.zip ??? ??, ??? ? ?????? ??????.

Aspose.zip ????? ????????? ?????? xar, ?????? Gzip, Bzip2, LZMA.

??????? ??????

????????? ??????? ????????? ?????? ?????? ???? ?? ??????.

1try (xararchive archive = new xararchive ("data.xar")) {
2    ??? (xarentry intry: archive.getEntries ()) {
3        if (????????? ?????? xarfileentry) {
4            Xarfileentry xarfileentry = (xarfileentry) inpit;
5            xarfileentry.extract ("extracted/" + entry.getfullpath ());
6        }
7    }
8}

????????? ????? ????

????????? ??????? ????????? ??? ?????????? ? ???????.

1try (xararchive archive = new xararchive ("data.xar")) {
2    archive.extracttodirectory ("data");
3}
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.