org.springframework.batch.sample.support

## Class DummyItemWriter

- java.lang.Object
- - org.springframework.batch.sample.support.DummyItemWriter

- All Implemented Interfaces:
    ItemWriter<java.lang.Object>

      public class DummyItemWriter
      extends java.lang.Object
      implements ItemWriter<java.lang.Object>

  Author:
    Dave Syer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DummyItemWriter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `write(java.util.List<? extends java.lang.Object> item)` Process the supplied data element.

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

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

- - ### Constructor Detail

    - #### DummyItemWriter

          public DummyItemWriter()

  - ### Method Detail

    - #### write

          public void write(java.util.List<? extends java.lang.Object> item)
                     throws java.lang.Exception

      Description copied from interface: `ItemWriter`
      Process the supplied data element. Will not be called with any null items in normal operation.
      Specified by:
        `write` in interface `ItemWriter<java.lang.Object>`
      Parameters:
        `item` - items to be written
      Throws:
        `java.lang.Exception` - if there are errors. The framework will catch the exception and convert or rethrow it as appropriate.