Package com.github.junrar.volume
Interface VolumeManager
-
- All Known Implementing Classes:
FileVolumeManager,InputStreamVolumeManager
public interface VolumeManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumenextVolume(Archive archive, Volume lastVolume)Returns either the first volume or the next volume.
-
-
-
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 oflastVolume- 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
-
-