Interface Chunk
- All Superinterfaces:
AutoCloseable
,SdkAutoCloseable
An interface which defines a "chunk" of data.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Chunk
create
(InputStream data, int sizeInBytes) Get a default implementation of a chunk, which wraps a stream with a fixed size;boolean
Whether the logical end of a chunk has been reached.stream()
Get the underlying stream of data for a chunk.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Method Details
-
create
Get a default implementation of a chunk, which wraps a stream with a fixed size; -
stream
InputStream stream()Get the underlying stream of data for a chunk. -
hasRemaining
boolean hasRemaining()Whether the logical end of a chunk has been reached.
-