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()
Gets a short localizable description of what this step does.
|
String |
getName()
Gets the localizable name of this step.
|
Event |
handleRawDocument(Event event)
Handles the
EventType.RAW_DOCUMENT 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()
IPipelineSteppublic String getName()
IPipelineSteppublic Event handleRawDocument(Event event)
BasePipelineStepEventType.RAW_DOCUMENT event.handleRawDocument in class BasePipelineStepevent - event to handle.Copyright © 2021. All rights reserved.