JAVA/CORBA CLASSES


write method
Example

Associates a file with a stream.

Defined in

Stream

Syntax

public int write(byte[] buffer)
   throws NotesException

Parameters

byte[] buffer


Return value

int


Usage

This method appends the bytes to the end of the stream.

This method throws an exception if the stream is read-only. See IsReadOnly.

When a stream is written, property values are:


Language cross-reference

Write method in LotusScript NotesStream class

Example