public class ByteLobChunkStream extends Object implements LobChunkProducer
Constructor and Description |
---|
ByteLobChunkStream(InputStream stream,
int chunkSize) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the underlaying stream of producing the chunks
|
LobChunk |
getNextChunk()
Gets the next LobChunk from the source, based on the chunk size configured
|
public ByteLobChunkStream(InputStream stream, int chunkSize)
public LobChunk getNextChunk() throws IOException
LobChunkProducer
getNextChunk
in interface LobChunkProducer
IOException
public void close() throws IOException
LobChunkProducer
close
in interface LobChunkProducer
IOException
Copyright © 2019. All rights reserved.