sqlj.runtime.AsciiStream class
The sqlj.runtime.AsciiStream class is for an input stream of ASCII data with a specified length.
The sqlj.runtime.AsciiStream class is derived from the java.io.InputStream class, and extends the sqlj.runtime.StreamWrapper class. SQLJ interprets the bytes in an sqlj.runtime.AsciiStream object as ASCII characters. An InputStream object with ASCII characters needs to be passed as a sqlj.runtime.AsciiStream object.
Constructors
- AsciiStream(InputStream)
- Format:
public AsciiStream(java.io.InputStream input-stream)
Creates an ASCII java.io.InputStream object with an unspecified length.
Parameters:- input-stream
- The InputStream object that SQLJ interprets as an AsciiStream object.
- AsciiStream(InputStream, int)
- Format:
public AsciiStream(java.io.InputStream input-stream, int length)
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.