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