Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ddlutils.io
Interface DataSink

All Known Implementing Classes:
  DataToDatabaseSink

    public interface DataSink

Marks classes that can receive dyna beans read by the `DataReader`.

Version:
  $Revision: 289996 $

Method Summary
`void` | `addBean(DynaBean bean)` Adds a dyna bean.
`void` | `end()` Notifies the sink that all beans have been added.
`void` | `start()` Notifies the sink that beans will be added.

Method Detail

### start

    void start()
               throws DataSinkException

  Notifies the sink that beans will be added.

  Throws:
    `DataSinkException`

### addBean

    void addBean(DynaBean bean)
                 throws DataSinkException

  Adds a dyna bean.

  Parameters:
    `bean` - The dyna bean to add
  Throws:
    `DataSinkException`

### end

    void end()
             throws DataSinkException

  Notifies the sink that all beans have been added.

  Throws:
    `DataSinkException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.