de.grogra.pf.io
Interface VirtualFileWriterSource

All Superinterfaces:
FilterSource, RegistryContext
All Known Implementing Classes:
LazyFilter, NullSource, StreamAdapter

public interface VirtualFileWriterSource
extends FilterSource

This subinterface of FilterSource has to be implemented by filter sources whose flavor supports writing to files in a virtual FileSystem. (IOFlavor.VFILE_WRITER). It represents the data by writing it to a file.

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(FileSystem fs, java.lang.Object 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(FileSystem fs,
           java.lang.Object out)
           throws java.io.IOException
This method writes the data to out.

Parameters:
fs - the file system to which data is written
out - the file to which data is written
Throws:
java.io.IOException