Sqlj.runtime.binarystream Class; Sqlj.runtime.binarystream Class Sqlj.runtime.characterstream Class - IBM DB2 Manual

Table of Contents

Advertisement

Creates an ASCII java.io.InputStream object with a specified length.
Parameters:
input-stream
The InputStream object that SQLJ interprets as an AsciiStream object.
length
The length of the InputStream object that SQLJ interprets as an
AsciiStream object.
Related reference

"sqlj.runtime.BinaryStream class"

"sqlj.runtime.CharacterStream class" on page 306
"sqlj.runtime.StreamWrapper class" on page 314
"sqlj.runtime.UnicodeStream class" on page 316
sqlj.runtime.BinaryStream class
The sqlj.runtime.BinaryStream class is for an input stream of binary data with a
specified length.
The sqlj.runtime.BinaryStream class is derived from the java.io.InputStream class,
and extends the sqlj.runtime.StreamWrapper class. SQLJ interprets the bytes in an
sqlj.runtime.BinaryStream object are interpreted as Binary characters. An
InputStream object with Binary characters needs to be passed as a
sqlj.runtime.BinaryStream object.
Constructors
BinaryStream(InputStream)
Format:
public BinaryStream(java.io.InputStream input-stream)
Creates an Binary java.io.InputStream object with an unspecified length.
Parameters:
input-stream
The InputStream object that SQLJ interprets as an BinaryStream object.
BinaryStream(InputStream, int)
Format:
public BinaryStream(java.io.InputStream input-stream, int length)
Creates an Binary java.io.InputStream object with a specified length.
Parameters:
input-stream
The InputStream object that SQLJ interprets as an BinaryStream object.
length
The length of the InputStream object that SQLJ interprets as an
BinaryStream object.
Related reference
"sqlj.runtime.AsciiStream class" on page 304
"sqlj.runtime.CharacterStream class" on page 306
"sqlj.runtime.StreamWrapper class" on page 314
"sqlj.runtime.UnicodeStream class" on page 316
Chapter 7. JDBC and SQLJ reference information
305

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents