oracle.sqlj.runtime
Class NcharUnicodeStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--sqlj.runtime.StreamWrapper
|
+--sqlj.runtime.UnicodeStream
|
+--oracle.sqlj.runtime.NcharUnicodeStream
- public class NcharUnicodeStream
- extends UnicodeStream
An InputStream-derived class whose bytes should be interpreted as
ASCII. When passing an InputStream as an input parameter to a
executable sql operation, both the length of the InputStream
and the way to interpret its bytes must be specified.
The NcharUnicodeStream is a variant of the SQLJ UnicodeStream that
always implies an NCHAR form of use.
- See Also:
UnicodeStream
Fields inherited from class java.io.FilterInputStream |
in |
NcharUnicodeStream(java.io.InputStream in)
Creates an Unicode-valued input stream with Nchar form of use
with an uninitialized length. |
NcharUnicodeStream(java.io.InputStream in,
int length)
Creates an Unicode-valued input stream with Nchar form of use
of given length. |
NcharUnicodeStream(UnicodeStream as)
Creates an Unicode-valued input stream with Nchar form of use
from an existing Unicode input stream. |
Methods inherited from class java.io.FilterInputStream |
available,
close,
mark,
markSupported,
read,
read,
read,
reset,
skip |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NcharUnicodeStream
public NcharUnicodeStream(java.io.InputStream in)
- Creates an Unicode-valued input stream with Nchar form of use
with an uninitialized length.
Note: the length attribute must be set via a call to
setLength()
before use of an UnicodeStream as an input (or
in-out) parameter to an executable sql operation.
- Parameters:
in
- the InputStream to interpret as an UnicodeStream with an NCHAR form of use.
NcharUnicodeStream
public NcharUnicodeStream(java.io.InputStream in,
int length)
- Creates an Unicode-valued input stream with Nchar form of use
of given length.
- Parameters:
in
- the InputStream to interpret as an UnicodeStream with an NCHAR form of use.length
- the length in bytes of the UnicodeStream
NcharUnicodeStream
public NcharUnicodeStream(UnicodeStream as)
- Creates an Unicode-valued input stream with Nchar form of use
from an existing Unicode input stream.
- Parameters:
the
- Unicode stream