org.ikasan.framework.component.sequencing
Class UncompressDataSplitter

java.lang.Object
  extended by org.ikasan.framework.component.sequencing.UncompressDataSplitter
All Implemented Interfaces:
Sequencer, FlowComponent

public class UncompressDataSplitter
extends Object
implements Sequencer

Implementation of @see Sequencer.

An incoming Event will have a zip file entry as its Payload(s).
The UnzipSplitter will unzip each of the Event's payloads,
such that each compressed file within the the zipped entry will be split into a new Payload.
A new Event will be created for each new Payload.

Examples: @see org.ikasan.framework.component.sequencing.UncompressDataSplitterTest

Author:
Ikasan Development Team

Constructor Summary
UncompressDataSplitter()
           
 
Method Summary
 List<Event> onEvent(Event event, String moduleName, String componentName)
          Implementation of org.ikasan.framework.component.sequencing.Sequencer#onEvent(Event)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UncompressDataSplitter

public UncompressDataSplitter()
Method Detail

onEvent

public List<Event> onEvent(Event event,
                           String moduleName,
                           String componentName)
                    throws SequencerException
Implementation of org.ikasan.framework.component.sequencing.Sequencer#onEvent(Event)

Specified by:
onEvent in interface Sequencer
Parameters:
event - - The incoming event with payload containing a zip file
Returns:
List for forwarding downstream in order
Throws:
SequencerException - Wrapper exception thrown when cloning and/or transforming the
Event/Payload


Copyright © 2007-2012 Ikasan. All Rights Reserved.