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

## things.thinger.io
Interface StreamSource

All Known Implementing Classes:
  EchoStreamSource, StreamSourceFromStream, StreamSourceFromStreamStalled, StreamSourceFromString

    public interface StreamSource

A stream source interface. I'm leaving it to the implementations to deal with construction of reuse. Yes, in know this invites bad style.

Version:
  1.0

  Version History

      EPG - Initial (toolkit) - 7 SEP 03

Author:
  Erich P. Gatejen

Method Summary
`boolean` | `hasMore()` Does the source have more to get?
`int` | `next()` Get the next byte.

Method Detail

### next

    int next()
             throws java.lang.Exception

  Get the next byte. It'll throw an exception if there is nothing left.

  Returns:
    the next integer (always fits int a byte).
  Throws:
    `java.lang.Exception`

### hasMore

    boolean hasMore()
                    throws java.lang.Exception

  Does the source have more to get?

  Returns:
    true if it does, otherwise false.
  Throws:
    `java.lang.Exception`

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

Things.