public class RawDocumentToOutputStreamStep extends BasePipelineStep
RawDocument to an OutputStream.
WARNING: This step eats the RawDocument Event after writing its contents.
This step should normally be used as the last step in a pipeline when an output file is needed.
This class implements the IPipelineStep
interface for a step that takes a RawDocument and creates an output
file from it. The generated file is passed on through a new RawDocument.
| Constructor and Description |
|---|
RawDocumentToOutputStreamStep()
Creates a new RawDocumentToOutputStreamStep object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getName() |
Event |
handleRawDocument(Event event) |
void |
setOutputStream(OutputStream outStream) |
cancel, destroy, getHelpLocation, getParameters, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputStep, setParameterspublic RawDocumentToOutputStreamStep()
public void setOutputStream(OutputStream outStream)
public String getDescription()
public String getName()
public Event handleRawDocument(Event event)
handleRawDocument in class BasePipelineStepCopyright © 2018. All rights reserved.