jrun.sql
Class RemoteStreamResult
java.lang.Object
|
+--jrun.sql.RemoteStreamResult
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class RemoteStreamResult
- extends java.lang.Object
- implements java.io.Externalizable
When ResultSets are remote and contain a column value that is a stream,
pre-read the stream into a byte array buffer so that the stream can be re-created
on the local caller's side of the invocation. These streams result
from ResultSet.getAsciiStream() and are almost always a ByteArrayInputStream.
- Author:
- PS Neville
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteStreamResult
public RemoteStreamResult()
RemoteStreamResult
public RemoteStreamResult(byte[] bytes)
getBuf
public byte[] getBuf()
setBuf
public void setBuf(byte[] buf)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable
Copyright � 2002 Macromedia Corporation. All Rights Reserved.