de.grogra.pf.io
Interface WriterSource

All Superinterfaces:
FilterSource, RegistryContext
All Known Implementing Classes:
CSVWriter, HTMLWriter, LazyFilter, NullSource, ObjectSourceImpl, PlainTextWriter, StreamAdapter

public interface WriterSource
extends FilterSource

This subinterface of FilterSource has to be implemented by filter sources whose flavor supports Writers (IOFlavor.WRITER). It represents the data by writing it to a Writer.

Author:
Ole Kniemeyer

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
 
Field Summary
 
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL
 
Method Summary
 void write(java.io.Writer out)
          This method writes the data to out.
 
Methods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgress
 
Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
 

Method Detail

write

void write(java.io.Writer out)
           throws java.io.IOException
This method writes the data to out.

Parameters:
out - the writer to which data is written
Throws:
java.io.IOException