Class ByteRangeInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
eu.europa.esig.dss.pades.validation.ByteRangeInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Reads InputStream according to the given
ByteRange
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorDescriptionByteRangeInputStream
(InputStream is, ByteRange byteRange) Default constructor -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ByteRangeInputStream
Default constructor- Parameters:
is
-InputStream
wrapped InputStream to access a PDF document contentbyteRange
-ByteRange
to read
-
-
Method Details
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-