Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.client.remote
Class ClobDomainCharacterStream

java.lang.Object
  extended byjava.io.Reader
      extended byoracle.jbo.client.remote.ClobDomainCharacterStream

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
 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, 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.

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

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.

Throws:
java.io.IOException - If an I/O error occurs

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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