|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mckoi.database.global.ByteLongObject
public class ByteLongObject
A byte array that can be transferred between the client and server. This is used for transferring BLOB data to/from the database engine.
| Constructor Summary | |
|---|---|
ByteLongObject(byte[] from)
|
|
ByteLongObject(byte[] from,
int offset,
int length)
Constructor. |
|
ByteLongObject(java.io.InputStream in,
int length)
|
|
| Method Summary | |
|---|---|
byte |
getByte(int n)
Returns the byte at offset 'n' into the binary object. |
byte[] |
getByteArray()
Returns the internal byte[] of this binary object. |
java.io.InputStream |
getInputStream()
Returns an InputStream that allows us to read the entire byte long object. |
int |
length()
Returns the size of the data in this object. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ByteLongObject(byte[] from,
int offset,
int length)
public ByteLongObject(byte[] from)
public ByteLongObject(java.io.InputStream in,
int length)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public int length()
length in interface BlobAccessorpublic byte getByte(int n)
public byte[] getByteArray()
public java.io.InputStream getInputStream()
getInputStream in interface BlobAccessorpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||