Java?WIM???????????
Contents
[
Hide
Show
]??
WIM?Microsoft Windows Image????????????????????????????????Asophes.zip???????????????????????????? wimimage????????????????????????????????????
?????
??????????????2?????????????????????????????
1try(wimarchive wimarchive = new Wimarchive( "boot.wim")){
2 wimarchive.getimages()?get_item(0).extracttodirectory( "extracted0");
3 wimarchive.getimages()?get_item(1).extracttodirectory( "extracted1");
4}???????
?????????????????????????????????????
1try(wimarchive wimarchive = new Wimarchive( "boot.wim")){
2 for(wimentry entr:wimarchive.getimages()?get_item(0).getallentries()){
3 if(wimfileentry???????????){
4 wimfileentry winfileentry =(wimfileentry)????;
5 winfileentry.extrage( "extracted/" + winfileentry.getName());
6 }
7 }
8}