org.ikasan.framework.component.transformation
Class UncompressDataTransformer

java.lang.Object
  extended by org.ikasan.framework.component.transformation.UncompressDataTransformer
All Implemented Interfaces:
Transformer, FlowComponent

public class UncompressDataTransformer
extends Object
implements Transformer

A Transformer implementation that uncompresses data in GZIP format. Not that this implementation does not support character encoding.

Author:
Ikasan Development Team

Field Summary
protected static int END_OF_FILE
          Constant representing end-of-file is reached.
 
Constructor Summary
UncompressDataTransformer()
           
 
Method Summary
 void onEvent(Event event)
          Transforms or otherwise changes the passed in Event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

END_OF_FILE

protected static final int END_OF_FILE
Constant representing end-of-file is reached.

See Also:
Constant Field Values
Constructor Detail

UncompressDataTransformer

public UncompressDataTransformer()
Method Detail

onEvent

public void onEvent(Event event)
             throws TransformationException
Description copied from interface: Transformer
Transforms or otherwise changes the passed in Event

Specified by:
onEvent in interface Transformer
Parameters:
event - Event to transform
Throws:
TransformationException - Exception if we could not transform


Copyright © 2007-2012 Ikasan. All Rights Reserved.