Interface ChunkInputStreamInterface
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
ChunkInputStreamNotBuffered
,ChunkInputStreamOptionalBuffer
-
Method Summary
Modifier and TypeMethodDescriptionint
void
close()
long
long
int
long
boolean
boolean
boolean
int
read()
int
read
(byte[] b, int off, int len) long
skip
(long len) long
transferTo
(OutputStream out)
-
Method Details
-
nextChunk
- Throws:
IOException
-
isChunksDone
boolean isChunksDone() -
getAvailableChunkSize
long getAvailableChunkSize() -
getChunkSize
long getChunkSize() -
getCurrentPos
int getCurrentPos() -
getCurrentTotalRead
long getCurrentTotalRead() -
read
- Throws:
IOException
-
read
- Throws:
IOException
-
skip
- Throws:
IOException
-
available
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
markSupported
boolean markSupported() -
transferTo
- Throws:
IOException
-