🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17280

Look at serialization?

#17280
From: Matt Butler
Date: Tue, 24 Nov 1998 00:00
19 lines
1224 bytes
This looks to be sort of how serialization works..uses reflection to
determine what to write. Perhaps you could look at this for examples, or, if
you don't absolutely need a formatted text file of some sort, just serialize
the objects?

Matt

Oyvind Johansen wrote in message <73c7gm$6uu7@forums.borland.com>...
>I am storing my objects as persistent objects but I also want to write them
>to text files as Strings. In order to create this toString() method for
each
>object I was thinking about using reflection, having each object look into
>it's own parameters and write the parameter values to Strings. Has anybody
>done anything similar to this? Any examples? Book references? Web pages?
>
>Thanks
>Oyvind
>
>
Technical Details
Message-ID: <73fdeh$9gg22@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <73c7gm$6uu7@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,95bf9c0841eebc79
X-Google-Attributes: gidf74b3,public
From: "Matt Butler" <butler@cyberramp.net>
Subject: Look at serialization?
Date: 1998/11/24
Message-ID: <73fdeh$9gg22@forums.borland.com>
X-Deja-AN: 415323278
References: <73c7gm$6uu7@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language