????? ??????? WIM ? Java

?????

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}
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.