IPWorks X12 2020 Kotlin Edition

Questions / Feedback?

SetOutputStream Method

The stream to which the component will write the translated data.

Syntax

public fun setOutputStream(outputStream: OutputStream?)

Remarks

This method sets the stream to which the component will write the translated data.

Input and Output Properties

The component will determine the source and destination of the input and output based on which properties are set.

The order in which the input properties are checked is as follows:

When a valid source is found the search stops. The order in which the output properties are checked is as follows:
  • SetOutputStream
  • OutputFile
  • OutputData: The output data is written to this property if no other destination is specified.

By default a stream will be closed after the called method returns. To leave a stream open for further processing set CloseStreamAfterTranslate to false.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks X12 2020 Kotlin Edition - Version 20.0 [Build 7941]