|
Oracle® Database XML Java API Reference 10g Release 2 (10.2) B14293-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
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)
b - The byte array to read intopublic int read()
public boolean markSupported()
public int read(byte[] b,
int off,
int len)
b - The byte array to read intooff - Start offset of the datalen - The maximum number of bytes to readpublic void close()
|
Oracle® Database XML Java API Reference 10g Release 2 (10.2) B14293-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||