@Metadata(firstVersion="2.11.0",
label="dataformat,transformation,file",
title="Zip File")
public class ZipFileDataFormat
extends DataFormatDefinition
| Constructor and Description |
|---|
ZipFileDataFormat() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAllowEmptyDirectory() |
Boolean |
getPreservePathElements() |
Boolean |
getUsingIterator() |
void |
setAllowEmptyDirectory(Boolean allowEmptyDirectory)
If the zip file has more then one entry, setting this option to true,
allows to get the iterator even if the directory is empty
|
void |
setPreservePathElements(Boolean preservePathElements)
If the file name contains path elements, setting this option to true,
allows the path to be maintained in the zip file.
|
void |
setUsingIterator(Boolean usingIterator)
If the zip file has more then one entry, the setting this option to true,
allows to work with the splitter EIP, to split the data using an iterator
in a streaming mode.
|
getContentTypeHeader, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributesgetId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReadPropertyPlaceholderOptions, getWritePropertyPlaceholderOptionspublic ZipFileDataFormat()
public Boolean getUsingIterator()
public Boolean getAllowEmptyDirectory()
public Boolean getPreservePathElements()
public void setUsingIterator(Boolean usingIterator)
public void setAllowEmptyDirectory(Boolean allowEmptyDirectory)
public void setPreservePathElements(Boolean preservePathElements)
Apache Camel