com.izforge.izpack.installer.multiunpacker
Class MultiVolumeUnpackerAutomationHelper
java.lang.Object
com.izforge.izpack.installer.multiunpacker.MultiVolumeUnpackerAutomationHelper
- All Implemented Interfaces:
- VolumeLocator
public class MultiVolumeUnpackerAutomationHelper
- extends Object
- implements VolumeLocator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiVolumeUnpackerAutomationHelper
public MultiVolumeUnpackerAutomationHelper(InstallData installData)
- Constructs a MultiVolumeUnpackerAutomationHelper.
- Parameters:
installData - the installation data
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 pathcorrupt - 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.