Skip navigation links
oracle.javatools.db
Interface BinaryObject
- All Superinterfaces:
- Copyable, DBObject, DynamicPropertySet, SchemaObject, SystemObject
- All Known Implementing Classes:
- JavaClass, JavaResource
-
public interface BinaryObject
- extends SchemaObject
Interface for an object from the db that has a binary representation (e.g. a Java Class).
Method Summary |
byte[] |
getBytes()
Gets the byte for this binary object as an array. |
java.io.InputStream |
getInputStream()
Gets the byte for this binary object as a stream. |
void |
setBytes(byte[] bytes)
Sets the bytes for this binary object. |
Methods inherited from interface oracle.javatools.db.DBObject |
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getReferenceIDs, getType, replaceReferenceIDs, setID, setName |
getBytes
byte[] getBytes()
- Gets the byte for this binary object as an array.
setBytes
void setBytes(byte[] bytes)
- Sets the bytes for this binary object.
-
- Parameters:
bytes
- the bytes to set as the contents of this object.
getInputStream
java.io.InputStream getInputStream()
- Gets the byte for this binary object as a stream.
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.