????? ??????? WIM ? Java
Contents
[
Hide
Show
]?????
WIM - ?? ?????? ?????????? Microsoft Windows. ?? ?????? ????????? ????? ????? ? Aspope.zip ??????????, ?? ???? ??????. ??? ???? ??????? ?????? ?????????, ????? ? ??? ????????????? ?????? Wimimage. ?? ?????? ????????? ????? ?????????, ?? ????????? ?????.
????? ??????????
??? ?????? ??????? ??? ?????????? ??????, ????? ? ???? ? ??????? ?????????.
1????????? (wimarchive wimarchive = ????? wimarchive ("boot.wim")) {
2 wimarchive.getImages (). get_item (0) .extracttodirectory ("extleted0");
3 wimarchive.getImages (). get_item (1). ExtractTodirectory ("extleted1");
4}???????? ?????
??? ?????? ??????? ????? ????? ????? ??????? ?????????? ? ???????.
1????????? (wimarchive wimarchive = ????? wimarchive ("boot.wim")) {
2 ??? (Wimentry ?????: wimarchive.getimages (). get_item (0) .getallentries ()) {
3 if (entriestof wimfileentry) {
4 Wimfileentry winfileentry = (wimfileentry) ????;
5 winfileentry.extract ("??????????/" + winfileentry.getName ());
6 }
7 }
8}