LoopedStreams
Date: 2019-10-22

org.openscience.jmol.app.jmolpanel

## Class LoopedStreams

- java.lang.Object
- - org.openscience.jmol.app.jmolpanel.LoopedStreams

-     public class LoopedStreams
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `(package private) java.io.ByteArrayOutputStream` | `byteArrayOS`
    `(package private) boolean` | `keepRunning`
    `private java.io.PipedInputStream` | `pipedIS`
    `(package private) java.io.PipedOutputStream` | `pipedOS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LoopedStreams()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.io.InputStream` | `getInputStream()`
    `java.io.OutputStream` | `getOutputStream()`
    `private void` | `startByteArrayReaderThread()`

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

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

- - ### Field Detail

    - #### pipedOS

          java.io.PipedOutputStream pipedOS

    - #### keepRunning

          boolean keepRunning

    - #### byteArrayOS

          java.io.ByteArrayOutputStream byteArrayOS

    - #### pipedIS

          private java.io.PipedInputStream pipedIS

  - ### Constructor Detail

    - #### LoopedStreams

          public LoopedStreams()
                        throws java.io.IOException

      Throws:
        `java.io.IOException`

  - ### Method Detail

    - #### getInputStream

          public java.io.InputStream getInputStream()

    - #### getOutputStream

          public java.io.OutputStream getOutputStream()

    - #### startByteArrayReaderThread

          private void startByteArrayReaderThread()