Package fr.gouv.vitam.common.stream
Class MultiplexedStreamWriter
java.lang.Object
fr.gouv.vitam.common.stream.MultiplexedStreamWriter
Write for multiplexed streams.
Stream format is "SIZE1(long)DATA1(raw)SIZE2(long)DATA2(raw)..."
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
appendEntry
(long size, InputStream inputStream) static long
getTotalStreamSize
(List<Long> fileSizes)
-
Constructor Details
-
MultiplexedStreamWriter
-
-
Method Details
-
appendEntry
- Throws:
IOException
-
appendEndOfFile
- Throws:
IOException
-
getTotalStreamSize
-