org.apache.camel.dataformat.zipfile
Class ZipFileDataFormat
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipFileDataFormat
public ZipFileDataFormat()
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