SQL/MX Programming Manual for Java
SQLJ Runtime Package
HP NonStop SQL/MX Programming Manual for Java—523726-003
B-11
AsciiStream Constructor Details
AsciiStream Constructor Details
AsciiStream(InputStream)
Creates an ASCII-valued InputStream object with an uninitialized length. Set the
length of the Java field by calling the setLength() method before passing an
AsciiStream object to an IN or INOUT host variable of an SQL operation.
Parameters
•
in (the InputStream object to interpret as an AsciiStream object)
AsciiStream(InputStream, int)
Creates an ASCII-valued InputStream object of a specified length.
Parameters
•
in (the InputStream object to interpret as an AsciiStream object)
•
length (the length in bytes of the AsciiStream object)
public AsciiStream(InputStream in)
public AsciiStream(InputStream in, int length)