Package org.apache.batchee.beanio

## Class BeanIOWriter

- java.lang.Object
- - org.apache.batchee.beanio.BeanIOWriter

- All Implemented Interfaces:
    `javax.batch.api.chunk.ItemWriter`

      public class BeanIOWriter
      extends Object
      implements javax.batch.api.chunk.ItemWriter

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected String` | `configuration` |
    `protected String` | `encoding` |
    `protected String` | `filePath` |
    `protected String` | `streamName` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BeanIOWriter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Serializable` | `checkpointInfo()` |
    `void` | `close()` |
    `void` | `open​(Serializable checkpoint)` |
    `void` | `writeItems​(List<Object> items)` |

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

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

- - ### Field Detail

    - #### filePath

          @Inject
          protected String filePath

    - #### streamName

          @Inject
          protected String streamName

    - #### configuration

          @Inject
          protected String configuration

    - #### encoding

          @Inject
          protected String encoding

  - ### Constructor Detail

    - #### BeanIOWriter

          public BeanIOWriter()

  - ### Method Detail

    - #### open

          public void open​(Serializable checkpoint)
                    throws Exception

      Specified by:
        `open` in interface `javax.batch.api.chunk.ItemWriter`
      Throws:
        `Exception`

    - #### close

          public void close()
                     throws Exception

      Specified by:
        `close` in interface `javax.batch.api.chunk.ItemWriter`
      Throws:
        `Exception`

    - #### writeItems

          public void writeItems​(List<Object> items)
                          throws Exception

      Specified by:
        `writeItems` in interface `javax.batch.api.chunk.ItemWriter`
      Throws:
        `Exception`

    - #### checkpointInfo

          public Serializable checkpointInfo()
                                      throws Exception

      Specified by:
        `checkpointInfo` in interface `javax.batch.api.chunk.ItemWriter`
      Throws:
        `Exception`