com.izforge.izpack.installer.multiunpacker
Class MultiVolumeUnpackerHelper

java.lang.Object
  extended by com.izforge.izpack.installer.multiunpacker.MultiVolumeUnpackerHelper
All Implemented Interfaces:
VolumeLocator

public class MultiVolumeUnpackerHelper
extends Object
implements VolumeLocator


Constructor Summary
MultiVolumeUnpackerHelper(InstallData installData, InstallerFrame frame)
          Constructs a MultiVolumeUnpackerHelper.
 
Method Summary
 File getVolume(String path, boolean corrupt)
          Returns the next volume.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiVolumeUnpackerHelper

public MultiVolumeUnpackerHelper(InstallData installData,
                                 InstallerFrame frame)
Constructs a MultiVolumeUnpackerHelper.

Parameters:
installData - the installation data
frame - the installer frame
Method Detail

getVolume

public File getVolume(String path,
                      boolean corrupt)
               throws IOException
Returns the next volume.

Specified by:
getVolume in interface VolumeLocator
Parameters:
path - the expected volume path
corrupt - if true the previous attempt detected a corrupt or invalid volume
Returns:
the next volume
Throws:
IOException - if the volume cannot be found


Copyright © 2018. All rights reserved.