Skip navigation links

Oracle® Database XML Java API Reference
11g Release 1 (11.1)

B28391-01


oracle.xdb
Class XDBOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by oracle.xdb.XDBOutputStream

All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Direct Known Subclasses:
XDBRenderStream

public class XDBOutputStream
extends java.io.OutputStream

Constructor Summary
XDBOutputStream(long c_gp, long c_state, int offset)
           

 

Method Summary
 void close()
          Function to close the XDBOutputStream
 void flush()
          Function to flush the XDBOutputStream
 void write(byte[] b)
          Writes b.length bytes from the specified byte array to this output stream.
 void write(byte[] b, int off, int len)
          Writes len bytes from the specified byte array starting at offset off to this output stream.
 void write(int b)
          Writes the specified byte to this output stream.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

XDBOutputStream

public XDBOutputStream(long c_gp,
                       long c_state,
                       int offset)

Method Detail

write

public void write(byte[] b)
Writes b.length bytes from the specified byte array to this output stream.
Overrides:
write in class java.io.OutputStream
Parameters:
b - The byte array to read into

write

public void write(byte[] b,
                  int off,
                  int len)
Writes len bytes from the specified byte array starting at offset off to this output stream.
Overrides:
write in class java.io.OutputStream
Parameters:
b - The byte array to read from
off - Start offset of the data
len - The number of bytes to write

write

public void write(int b)
Writes the specified byte to this output stream.
Specified by:
write in class java.io.OutputStream
Parameters:
b - byte to write

close

public void close()
Function to close the XDBOutputStream
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream

flush

public void flush()
Function to flush the XDBOutputStream
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.OutputStream

Skip navigation links

Oracle® Database XML Java API Reference
11g Release 1 (11.1)

B28391-01


Copyright © 2003, 2007, Oracle. All rights reserved.