JAVA/CORBA CLASSES


Stream class
Example

Represents a stream of binary or character data.

Note This class is new with Release 6.

Syntax

public class Stream extends Base
   throws NotesException

Containment

Contained by: Session

Properties

Bytes through getBytes

Charset through getCharset

IsEOS through isEOS

IsReadOnly through isReadOnly

Position through getPosition and setPosition

Methods

close

getContents

open

read

readText

recycle

setContents

truncate

write

writeText

Creation and access

To create a Stream object, use the createStream method in Session.

When a stream is created, property values are:


Usage

Use of a Stream object is limited to the thread in which is created.

Example
See Also