|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
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 |
KGHSSTREAM Constant to denote a kghsstream. |
static int |
OCISTREAM Constant 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 |
---|
equals, 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.InputStream
b
- The byte array to read intopublic int read()
read
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public int read(byte[] b, int off, int len)
read
in class java.io.InputStream
b
- 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.Closeable
close
in class java.io.InputStream
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.