Interface VolumeManager

    • Method Detail

      • nextVolume

        Volume nextVolume​(Archive archive,
                          Volume lastVolume)
                   throws java.io.IOException
        Returns either the first volume or the next volume.
        Parameters:
        archive - the archive the volumes are part of
        lastVolume - the last volume before the one to return
        Returns:
        the first volume if lastVolume is null, else the next volume after lastVolume
        Throws:
        java.io.IOException - if the volume cannot be read