Package com.github.junrar.volume
Interface Volume
-
- All Known Implementing Classes:
FileVolume,InputStreamVolume
public interface Volume
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArchivegetArchive()SeekableReadOnlyByteChannelgetChannel()longgetLength()
-
-
-
Method Detail
-
getChannel
SeekableReadOnlyByteChannel getChannel() throws java.io.IOException
- Returns:
- SeekableReadOnlyByteChannel the channel
- Throws:
java.io.IOException- .
-
getLength
long getLength()
- Returns:
- the data length
-
getArchive
Archive getArchive()
- Returns:
- the archive this volume belongs to
-
-