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
ConstructorsConstructorDescriptionByteRangeInputStream(InputStream is, ByteRange byteRange) Default constructor -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, resetMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ByteRangeInputStream
Default constructor- Parameters:
is-InputStreamwrapped InputStream to access a PDF document contentbyteRange-ByteRangeto read
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classFilterInputStream- Throws:
IOException
-