Class InputStreamVolume
java.lang.Object
com.github.junrar.volume.InputStreamVolume
- All Implemented Interfaces:
Volume
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Archiveprivate final InputStreamprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongint
-
Field Details
-
archive
-
inputStream
-
position
private final int position
-
-
Constructor Details
-
InputStreamVolume
-
-
Method Details
-
getChannel
- Specified by:
getChannelin interfaceVolume- Returns:
- SeekableReadOnlyByteChannel the channel
-
getLength
-
getArchive
- Specified by:
getArchivein interfaceVolume- Returns:
- the archive this volume belongs to
-
getPosition
public int getPosition()
-