public interface StreamMergeAlgorithm
StreamMergeAlgorithms for some commonly-used algorithms.| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
merge(java.lang.String path,
java.util.List<java.io.InputStream> streams,
com.google.common.io.Closer closer)
Merges the given streams.
|
@NonNull
java.io.InputStream merge(@NonNull
java.lang.String path,
@NonNull
java.util.List<java.io.InputStream> streams,
@NonNull
com.google.common.io.Closer closer)
path - the OS-independent path being mergedstreams - the source streams; must contain at least one elementcloser - the closer that will close the source streams and the merged stream (an
implementation of this method will register the streams to be closed with this closer)