ObjectTransferType? [message #100224] |
Wed, 15 October 2003 23:36  |
Eclipse User |
|
|
|
Originally posted by: snowice.asiamail.com
Hi,
I realise that there are only FileTransferType, TextTransferType and
ByteArrayTransferType. Did anyone implement any ObjectTransferType? I
desperately need an ObjectTransfertype as the 3 available transfer types
cannot be used to satisfy my needs. In my tree viewer, it displays a tree
of "objects" which i need to drag and drop. However each object has quite
a number of nested objects hence ByteArrayTransferType does not seem
feasible. Can someone enlighten me? Thanks in advance!
regards,
Evon
|
|
|
Re: ObjectTransferType? [message #100417 is a reply to message #100224] |
Thu, 16 October 2003 21:09  |
Eclipse User |
|
|
|
Originally posted by: ThisisFake.Fakeness.xyz
On Thu, 16 Oct 2003 03:36:21 +0000, Evon wrote:
> Hi,
> I realise that there are only FileTransferType, TextTransferType and
> ByteArrayTransferType. Did anyone implement any ObjectTransferType? I
> desperately need an ObjectTransfertype as the 3 available transfer types
> cannot be used to satisfy my needs. In my tree viewer, it displays a tree
> of "objects" which i need to drag and drop. However each object has quite
> a number of nested objects hence ByteArrayTransferType does not seem
> feasible. Can someone enlighten me? Thanks in advance!
>
> regards,
> Evon
byte array shoudl work just fine. Use an ObjectOutputStream and a
ByteArrayOutputStream, or input streams. some combination of those should
allow you to convert your object into a byte array. They must all
implement the serializable interface.
CL
|
|
|
Powered by
FUDForum. Page generated in 0.27627 seconds