juzu.io

## Class StreamableDecorator

- java.lang.Object
- - juzu.io.StreamableDecorator

- All Implemented Interfaces:
    Streamable

      public class StreamableDecorator
      extends Object
      implements Streamable

  Author:
    Julien Viet

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamableDecorator(Streamable producer)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `send(Stream stream)` Send the chunks to the stream.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StreamableDecorator

          public StreamableDecorator(Streamable producer)

  - ### Method Detail

    - #### send

          public void send(Stream stream)
                    throws IllegalStateException

      Description copied from interface: `Streamable`
      Send the chunks to the stream.
      Specified by:
        `send` in interface `Streamable`
      Parameters:
        `stream` - the stream
      Throws:
        `IllegalStateException`

Copyright © 2013 eXo Platform SAS. All rights reserved.