Overview | Package | Class
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.log4jfugue
Class SimpleDataGetter

The base class for all of the ways to get data into the system. This sets up a PipedReader that can be connected to by anyone who wants to get the data that this class provides.

author:
  btarbox

Field Summary
`Logger` | `log`
`PipedWriter` | `pipedWriter`

Constructor Summary
`SimpleDataGetter()`

Method Summary
`void` | `run()` Get the data.
`void` | `setReader(PipedReader reader)` Define the PipedReader that the class will use to get its data.
`void` | `setWriter(PipedWriter writer)` Define the PipedWriter that this class will use to send data to clients.
`void` | `swappedIndex()`

Constructor Detail

### SimpleDataGetter

    SimpleDataGetter()

Method Detail

### run

    public void run()

  Get the data. I think this ought to be abstract as this version isn't very useful

### setReader

    public void setReader(PipedReader reader)

  Define the PipedReader that the class will use to get its data. This reader might be connected to a existing file or a live data feed, we don't care.
  param:
    reader

### setWriter

    public void setWriter(PipedWriter writer)

  Define the PipedWriter that this class will use to send data to clients.
  param:
    writer

### swappedIndex

    public void swappedIndex()