Java? WIM ???? ??

Contents
[ Hide Show ]

??

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    for (wimartry entry : wimarchive.getimages (). get_item (0) .getallentries ()) {
3        if (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.