
Package ca.uhn.fhir.util
Class StreamUtil
java.lang.Object
ca.uhn.fhir.util.StreamUtil
- 
Method Summary
- 
Method Details- 
partitionChunk the stream into Lists of size theChunkSize. The last chunk will be smaller unless the stream size is evenly divisible. Closes the underlying stream when done.- Parameters:
- theStream- the input stream
- theChunkSize- the chunk size.
- Returns:
- a stream of chunks
 
 
-