|
Oracle® Database XML Java API Reference 11g Release 1 (11.1) B28391-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
java.io.InputStream
oracle.xdb.RealInputStream
public class RealInputStream
Class that provides an inputstream abstraction to support reading from an underlying oracle stream.
| Field Summary | |
|---|---|
static int |
KGHSSTREAMConstant to denote a kghsstream. |
static int |
OCISTREAMConstant to denote an ocistream. |
| Constructor Summary | |
|---|---|
RealInputStream(long c_errhp, long c_state)Public constructor. |
|
RealInputStream(long c_errhp, long c_state, int m_type, long m_gp)Public constructor. |
|
| Method Summary | |
|---|---|
void |
close()Function to close the RealInputStream |
boolean |
markSupported()Function to check if "mark" and "reset" are supported |
int |
read()Function to read the next byte of data |
int |
read(byte[] b)Function to read upto b.length bytes of data into a byte array |
int |
read(byte[] b, int off, int len)Function to read upto "len" bytes of data into a byte array |
| Methods inherited from class java.io.InputStream |
|---|
available, mark, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OCISTREAM
public static final int KGHSSTREAM
| Constructor Detail |
|---|
public RealInputStream(long c_errhp,
long c_state)
c_errhp - Pointer to the C error handler.c_state - Pointer to the corresponding C state.
public RealInputStream(long c_errhp,
long c_state,
int m_type,
long m_gp)
c_errhp - Pointer to the C error handler.c_state - Pointer to the corresponding C state.m_type - The stream type.m_gp - Pointer to the generic PGA.| Method Detail |
|---|
public int read(byte[] b)
read in class java.io.InputStreamb - The byte array to read intopublic int read()
read in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStream
public int read(byte[] b,
int off,
int len)
read in class java.io.InputStreamb - The byte array to read intooff - Start offset of the datalen - The maximum number of bytes to readpublic void close()
close in interface java.io.Closeableclose in class java.io.InputStream
|
Oracle® Database XML Java API Reference 11g Release 1 (11.1) B28391-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||