Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## juzu.io
Interface Stream

All Known Implementing Classes:
  OutputStream

    public interface Stream

A stream is a consumer of chunk.

Author:
  Julien Viet

Method Summary
`void` | `close(Thread.UncaughtExceptionHandler errorHandler)` Signal the work is done, the caller can be aware of error that were not caught.
`void` | `provide(Chunk chunk)` Provide a chunk.

Method Detail

### provide

    void provide(Chunk chunk)

  Provide a chunk.

  Parameters:
    `chunk` - the chunk

### close

    void close(Thread.UncaughtExceptionHandler errorHandler)

  Signal the work is done, the caller can be aware of error that were not caught. The `errorHandler` argument can be null.

  Parameters:
    `errorHandler` - the optional error handler

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014 eXo Platform SAS. All rights reserved.