com.comtrade.ecm.engine.io

## Class FileWriter

- java.lang.Object
- - com.comtrade.ecm.engine.io.FileWriter

- All Implemented Interfaces:
    java.lang.AutoCloseable

      public class FileWriter
      extends java.lang.Object
      implements java.lang.AutoCloseable

  Simple `BufferedWriter` that writes to a `File`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FileWriter(java.lang.String filename)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `write(java.lang.String text)`
    `void` | `writeln()`
    `void` | `writeln(java.lang.String text)`

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

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

- - ### Constructor Detail

    - #### FileWriter

          public FileWriter(java.lang.String filename)
                     throws java.io.IOException

      Throws:
        `java.io.IOException`

  - ### Method Detail

    - #### writeln

          public void writeln()
                       throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### writeln

          public void writeln(java.lang.String text)
                       throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### write

          public void write(java.lang.String text)
                     throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### close

          public void close()
                     throws java.io.IOException

      Specified by:
        `close` in interface `java.lang.AutoCloseable`
      Throws:
        `java.io.IOException`