BBjFileSystem::getOutputStream

Description

In BBj 17.0 and higher, this method returns a Java OutputStream for the specified filename.

Syntax

Return Value

Method

OutputStream

getOutputStream(string filename)

Parameters

Variable

Description

filename

Specifies the name of the file.

Return Value

Returns a Java OutputStream for the specified filename.

Remarks

This method is provided as a convenience for interacting with Java code. Close the OutputStream in order to close the file.

Example

rem ' BBjFileSystem::getOutputStream

fs! = bbjapi().getFileSystem()
os! = fs!.getOutputStream("myfile.txt")

See Also

BBjAPI

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.