Class BundledStream

  • All Implemented Interfaces:
    Stream, Closeable, AutoCloseable

    public class BundledStream
    extends Object
    implements Stream
    A BundledStream is an abstraction that contains an InputStream and a StreamDescriptor. The descriptors are being used by the Nodes to decide if they can / will handle this stream or not.

    Example:
    We have a StreamBundle containing two Streams, one representing a TIFF file and one representing a GIF file. If we want to do a kind of "GIF2TIFF" conversion in a certain Node, this worker will only convert the second stream (the GIF file).