org.apache.camel.dataformat.zipfile
Class ZipFileDataFormat

java.lang.Object
  extended by org.apache.camel.dataformat.zipfile.ZipFileDataFormat
All Implemented Interfaces:
org.apache.camel.spi.DataFormat

public class ZipFileDataFormat
extends Object
implements org.apache.camel.spi.DataFormat

Zip file data format. See org.apache.camel.model.dataformat.ZipDataFormat for "deflate" compression.


Constructor Summary
ZipFileDataFormat()
           
 
Method Summary
 void marshal(org.apache.camel.Exchange exchange, Object graph, OutputStream stream)
           
 void setUsingIterator(boolean usingIterator)
           
 Object unmarshal(org.apache.camel.Exchange exchange, InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipFileDataFormat

public ZipFileDataFormat()
Method Detail

setUsingIterator

public void setUsingIterator(boolean usingIterator)

marshal

public void marshal(org.apache.camel.Exchange exchange,
                    Object graph,
                    OutputStream stream)
             throws Exception
Specified by:
marshal in interface org.apache.camel.spi.DataFormat
Throws:
Exception

unmarshal

public Object unmarshal(org.apache.camel.Exchange exchange,
                        InputStream stream)
                 throws Exception
Specified by:
unmarshal in interface org.apache.camel.spi.DataFormat
Throws:
Exception


Apache Camel