Package com.github.junrar.volume
Class FileVolume
java.lang.Object
com.github.junrar.volume.FileVolume
- All Implemented Interfaces:
Volume
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
archive
-
file
-
-
Constructor Details
-
FileVolume
- Parameters:
archive- .file- .
-
-
Method Details
-
getChannel
- Specified by:
getChannelin interfaceVolume- Returns:
- SeekableReadOnlyByteChannel the channel
- Throws:
IOException- .
-
getLength
public long getLength() -
getArchive
- Specified by:
getArchivein interfaceVolume- Returns:
- the archive this volume belongs to
-
getFile
- Returns:
- the file
-