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
LobChunkProducergetNextChunk in interface LobChunkProducerIOExceptionpublic void close()
throws IOException
LobChunkProducerclose in interface LobChunkProducerIOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.