Interface VolumeManager
- All Known Implementing Classes:
FileVolumeManager, InputStreamVolumeManager
public interface VolumeManager
-
Method Summary
Modifier and TypeMethodDescriptionnextVolume(Archive archive, Volume lastVolume) Returns either the first volume or the next volume.
-
Method Details
-
nextVolume
Returns either the first volume or the next volume.- Parameters:
archive- the archive the volumes are part oflastVolume- 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
-