setContents (Stream - Java)

Copies java.io.InputStream or Reader contents to a stream.

Defined in

Stream

Syntax

public void setContents(java.io.InputStream stream)
    throws NotesException

public void setContents(java.io.Reader stream)
    throws NotesException

Usage

If the stream has content, the new content is appended.

When a stream is copied, property values are:

Example