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

?????

Wim - ??? ?????? ??????????? Microsoft Windows. ?? ?????? ??????? ????? ????? ? Aspose.zip ??? ??, ??? ? ?????? ??????. ?? ????? ????????? ????????? ???????????, ?????? ?? ??? ???????????? ??????? Wimimage. ?? ????? ??????? ?????????? ???????????, ???????????? ?????.

??????? ???????????

???? ??????? ????????? ??? ??????????? ??????, ?????? ??? ???????? ?????????.

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    ??? (wimentry intry: wimarchive.getimages (). get_item (0) .getallentries ()) {
3        if (????????? ?????? wimfileentry) {
4            Wimfileentry winfileentry = (wimfileentry) ??????;
5            WinFileEntry.Extract ("Altracted/" + winFileEntry.getName ());
6        }
7    }
8}
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.