Extension SDK

oracle.jdeveloper.cm.ds.db
Class BinaryResource

java.lang.Object
  extended byoracle.jdeveloper.cm.ds.db.BinaryResource

public final class BinaryResource
extends java.lang.Object

Object representation of a binary resource retrieved from a connection. This class is immutable.


Constructor Summary
BinaryResource(byte[] bytes)
          Constructor.
 
Method Summary
 byte[] getBytes()
          Gets the byte array.
 java.io.InputStream getInputStream()
          Gets an InputStream on the byte array.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryResource

public BinaryResource(byte[] bytes)
Constructor. Creates a new BinaryResource.

Method Detail

getBytes

public byte[] getBytes()
Gets the byte array.


getInputStream

public java.io.InputStream getInputStream()
Gets an InputStream on the byte array.


toString

public java.lang.String toString()

Extension SDK

 

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