org.clapper.curn
Interface PostOutputPlugIn

All Superinterfaces:
PlugIn
All Known Implementing Classes:
EmailOutputPlugIn, MetaPlugIn, ZipOutputPlugIn

public interface PostOutputPlugIn
extends PlugIn

This interface defines the methods that must be supported by plug-ins that wish to be notified after curn has finished invoking all OutputHandlers.

Version:
$Revision: 6300 $
See Also:
PlugIn, MetaPlugIn, PreFeedOutputPlugIn, PostFeedOutputPlugIn, Curn

Method Summary
 void runPostOutputPlugIn(java.util.Collection<OutputHandler> outputHandlers)
          Called after curn has flushed all output handlers.
 
Methods inherited from interface org.clapper.curn.PlugIn
getPlugInName, getPlugInSortKey, initPlugIn
 

Method Detail

runPostOutputPlugIn

void runPostOutputPlugIn(java.util.Collection<OutputHandler> outputHandlers)
                         throws CurnException
Called after curn has flushed all output handlers. A post-output plug-in is a useful place to consolidate the output from all output handlers. For instance, such a plug-in might pack all the output into a zip file, or email it.

Parameters:
outputHandlers - a Collection of the OutputHandler objects (useful for obtaining the output files, for instance).
Throws:
CurnException - on error
See Also:
OutputHandler


Copyright © 2004-2006 Brian M. Clapper. All Rights Reserved.