i2p.susi.util

## Class FixCRLFOutputStream

- java.lang.Object
- - java.io.OutputStream
  - - java.io.FilterOutputStream
    - - i2p.susi.util.FixCRLFOutputStream

- All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

      public class FixCRLFOutputStream
      extends FilterOutputStream

  OutputStream that converts LF to CRLF during streaming. Used when importing .eml files.

- - ### Field Summary

    - ### Fields inherited from class java.io.FilterOutputStream

      `out`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FixCRLFOutputStream(OutputStream out)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `write(int val)`

    - ### Methods inherited from class java.io.FilterOutputStream

      `close, flush, write, write`

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

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

- - ### Constructor Detail

    - #### FixCRLFOutputStream

          public FixCRLFOutputStream(OutputStream out)

  - ### Method Detail

    - #### write

          public void write(int val)
                     throws IOException

      Overrides:
        `write` in class `FilterOutputStream`
      Throws:
        `IOException`