BBjFileSystem::getInputStream

Description

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

Syntax

Return Value

Method

InputStream

getInputStream(string filename)

Parameters

Variable

Description

filename

Specifies the name of the file.

Return Value

Returns a Java InputStream for the specified filename.

Remarks

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

Example

rem ' BBjFileSystem::getInputStream

fs! = bbjapi().getFileSystem()
is! = fs!.getInputStream("myfile.txt")

See Also

BBjAPI

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