@Metadata(firstVersion="2.16.0", label="dataformat,transformation,file", title="Tar File") public class TarFileDataFormat extends DataFormatDefinition
Constructor and Description |
---|
TarFileDataFormat() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDataFormat(DataFormat dataFormat,
CamelContext camelContext)
Allows derived classes to customize the data format
|
Boolean |
getAllowEmptyDirectory() |
Boolean |
getPreservePathElements() |
Boolean |
getUsingIterator() |
void |
setAllowEmptyDirectory(Boolean allowEmptyDirectory)
If the tar 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 tar file.
|
void |
setUsingIterator(Boolean usingIterator)
If the tar 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.
|
configureDataFormat, createDataFormat, getContentTypeHeader, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setProperty
getId, setId
public TarFileDataFormat()
protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext)
DataFormatDefinition
configureDataFormat
in class DataFormatDefinition
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