getContents (Stream - Java)

Copies stream contents to a java.io.OutputStream or Writer object.

Defined in

Stream

Syntax

public void getContents(java.io.OutputStream stream)
    throws NotesException

public void getContents(java.io.Writer stream)
    throws NotesException

Usage

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

When a stream is copied, property values are:

Example