Class CmisContentRangeInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.ametys.plugins.workspaces.cmis.CmisContentRangeInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Copied from openCMIS Server Development Guide
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorDescriptionCmisContentRangeInputStream
(InputStream stream, BigInteger offset, BigInteger length) create a RangeInputStream -
Method Summary
Methods inherited from class java.io.FilterInputStream
close, mark, reset
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
CmisContentRangeInputStream
create a RangeInputStream- Parameters:
stream
- streamoffset
- offsetlength
- length
-
-
Method Details
-
markSupported
- Overrides:
markSupported
in classFilterInputStream
-
skip
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-