Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.jbo.client.remote
Class ClobDomainCharacterStream

java.lang.Object
  extended by java.io.Reader
      extended by oracle.jbo.client.remote.ClobDomainCharacterStream

All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class ClobDomainCharacterStream
extends java.io.Reader

Field Summary

 

Fields inherited from class java.io.Reader
lock

 

Constructor Summary
ClobDomainCharacterStream(Transaction am, DomainOwnerInterface row, java.lang.String id)
           

 

Method Summary
 int available()
           
 void close()
          Close the stream.
 int read(char[] cbuf, int off, int len)
          Read characters into a portion of an array.

 

Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip

 

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

 

Constructor Detail

ClobDomainCharacterStream

public ClobDomainCharacterStream(Transaction am,
                                 DomainOwnerInterface row,
                                 java.lang.String id)

Method Detail

read

public int read(char[] cbuf,
                int off,
                int len)
         throws java.io.IOException
Read characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached.
Specified by:
read in class java.io.Reader
Parameters:
cbuf - Destination buffer
off - Offset at which to start storing characters
len - Maximum number of characters to read
Returns:
The number of characters read, or -1 if the end of the stream has been reached
Throws:
java.io.IOException - If an I/O error occurs

available

public int available()

close

public void close()
           throws java.io.IOException
Close the stream. Once a stream has been closed, further read(), ready(), mark(), or reset() invocations will throw an IOException. Closing a previously-closed stream, however, has no effect.
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Reader
Throws:
java.io.IOException - If an I/O error occurs

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.