XAR ???? ??
Contents
[
Hide
Show
]??
Xar? ???? Mac OS ???? ?????. ?? ????? ???? aspose.zip? ???? ??? ????? ?? ? ? ????.
aspose.zip? gzip, bzip2, lzma? ?? ? XAR ??? ?? ? ? ????.
?? ??
?? ?? ??? ????? ??? ??? ?????.
1try (xararchive archive = new xararchive ( "data.xar")) {
2 (xarentry ?? : archive.getentries ()) {
3 if (xarfileentry? ?? ????) {
4 xarfileentry xarfileentry = (xarfileentry) ??;
5 xarfileentry.extract ( "??/" + entry.getfullpath ());
6 }
7 }
8}?? ?? ??
?? ??? ???? ?? ???? ????? ?????.
1try (xararchive archive = new xararchive ( "data.xar")) {
2 archive.extracttodirectory ( "data");
3}