@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 |
|---|---|
String |
getAllowEmptyDirectory() |
String |
getMaxDecompressedSize() |
String |
getPreservePathElements() |
String |
getUsingIterator() |
void |
setAllowEmptyDirectory(String 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 |
setMaxDecompressedSize(String maxDecompressedSize)
Set the maximum decompressed size of a zip file (in bytes).
|
void |
setPreservePathElements(String 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(String 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, getShortName, setContentTypeHeader, setDataFormat, setDataFormatNamegetId, setIdpublic ZipFileDataFormat()
public String getUsingIterator()
public String getAllowEmptyDirectory()
public String getPreservePathElements()
public String getMaxDecompressedSize()
public void setUsingIterator(String usingIterator)
public void setAllowEmptyDirectory(String allowEmptyDirectory)
public void setPreservePathElements(String preservePathElements)
public void setMaxDecompressedSize(String maxDecompressedSize)
maxDecompressedSize - the maximum decompressed size of a zip file (in bytes)Apache Camel