Interface VolumeManager

All Known Implementing Classes:
FileVolumeManager, InputStreamVolumeManager

public interface VolumeManager
  • Method Summary

    Modifier and Type
    Method
    Description
    nextVolume(Archive archive, Volume lastVolume)
    Returns either the first volume or the next volume.
  • Method Details

    • nextVolume

      Volume nextVolume(Archive archive, Volume lastVolume) throws 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:
      IOException - if the volume cannot be read