SetOutputStream Method

The stream to which the class will write the JSON.

Syntax

public void setOutputStream(java.io.OutputStream outputStream);

Remarks

This method sets the stream to which output will be written when writing data.

Output Properties

The class will determine the destination of the output based on which properties are set.

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 Java Edition - Version 20.0 [Build 8265]