XAR???????????
Contents
[
Hide
Show
]??
XAR?????Mac OS?????????????????????????????????Asophes.zip????????
Aspose.Zip??GZIP?BZIP2?LZMA??????XAR????????????
???????
???????????????????1?????????
1try(xararchive archive = new Xararchive( "data.xar")){
2 for(xarentry????:archive.getentries()){
3 if(xarfileentry?????????){
4 XarfileEntry XarfileEntry =(XarfileEntry)????;
5 XarfileEntry.Extry( "Extracted/" + entry.getFullPath());
6 }
7 }
8}????????
???????????????????????????????
1try(xararchive archive = new Xararchive( "data.xar")){
2 archive.extracttodirectory( "data");
3}