SetArticleStream Method

Sets the stream to which the article downloaded from the server will be written.

Syntax

public void setArticleStream(java.io.OutputStream articleStream);

Remarks

This method sets the stream to which the article downloaded from the server will be written. If a download stream is set before the FetchArticle or FetchArticleBody methods are called, the downloaded data will be written to the stream. The stream should be open and normally set to position 0. The component will automatically close this stream if CloseStreamAfterTransfer is set to true (default). If the stream is closed, you will need to call SetArticleStream again before calling FetchArticle or FetchArticleBody again. The downloaded content will be written starting at the current position in the stream.

Note: SetArticleStream and LocalFile will reset the other.

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