com.izforge.izpack.installer.multiunpacker
Class MultiVolumeUnpackerAutomationHelper

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

public class MultiVolumeUnpackerAutomationHelper
extends Object
implements VolumeLocator


Constructor Summary
MultiVolumeUnpackerAutomationHelper(InstallData installData)
          Constructs a MultiVolumeUnpackerAutomationHelper.
 
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

MultiVolumeUnpackerAutomationHelper

public MultiVolumeUnpackerAutomationHelper(InstallData installData)
Constructs a MultiVolumeUnpackerAutomationHelper.

Parameters:
installData - the installation data
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.