public class ZipWriterPipe extends CollectorPipe<IZipWritingElement,ZipWriter> implements IZipWritingElement
AUTOMATIC_STREAMING
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
ZipWriterPipe() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
checks for correct configuration of forward
|
ZipWriter |
openCollection(Message input,
PipeLineSession session,
ParameterValueList pvl) |
void |
setCharset(String string)
Only for action='write': Charset used to write strings to zip entries
|
void |
setCloseInputstreamOnExit(boolean b)
Only for action='write': If set to
false , the inputstream is not closed after the zip entry is written |
void |
setCloseOutputstreamOnExit(boolean b)
Only for action='open': If set to
false , the outputstream is not closed after the zip creation is finished |
void |
setCloseStreamOnExit(boolean b)
Deprecated.
|
void |
setCompleteFileHeader(boolean b)
Only for action='write': If set to
true , the fields 'crc-32', 'compressed size' and 'uncompressed size' in the zip entry file header are set explicitly (note: compression ratio is zero) |
void |
setZipWriterHandle(String string)
Deprecated.
|
canProvideOutputStream, doPipe, getAction, getCollection, provideOutputStream, setAction, setCollection
canStreamToNextPipe, getNextPipe, getTargetStream, isStreamingActive, provideOutputStream, setStreamingActive, supportsOutputStreamPassThrough
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, getParameterOverriddenAttributeValue, getParameterValueList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, start, stop, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCharset, isCloseInputstreamOnExit, isCloseOutputstreamOnExit, isCompleteFileHeader
getName, setName
getApplicationContext, getName
getConfigurationClassLoader
setApplicationContext
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine
getMaxThreads
getName
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public void configure() throws ConfigurationException
FixedForwardPipe
configure
in interface IConfigurable
configure
in interface IPipe
configure
in class CollectorPipe<IZipWritingElement,ZipWriter>
ConfigurationException
public ZipWriter openCollection(Message input, PipeLineSession session, ParameterValueList pvl) throws CollectionException
openCollection
in interface ICollectingElement<ZipWriter>
CollectionException
public void setCloseInputstreamOnExit(boolean b)
false
, the inputstream is not closed after the zip entry is writtenpublic void setCloseOutputstreamOnExit(boolean b)
false
, the outputstream is not closed after the zip creation is finished@Deprecated @ConfigurationWarning(value="attribute \'closeStreamOnExit\' has been renamed to \'closeOutputstreamOnExit\'") public void setCloseStreamOnExit(boolean b)
public void setCharset(String string)
@Deprecated @ConfigurationWarning(value="Replaced with attribute collection") public void setZipWriterHandle(String string)
public void setCompleteFileHeader(boolean b)
true
, the fields 'crc-32', 'compressed size' and 'uncompressed size' in the zip entry file header are set explicitly (note: compression ratio is zero)Copyright © 2023 Frank!Framework. All rights reserved.