Article View: borland.public.jbuilder.java.language
Article #15871Dynamic Object naming
From: Mica Cooper
Date: Sat, 24 Apr 1999 00:00
Date: Sat, 24 Apr 1999 00:00
18 lines
1006 bytes
1006 bytes
Ok,
I know this may sound silly but if you know how to dynamically name an
object or have a better way let me know.
Problem : I have an everchanging list of data in CSV file formats. I
want to read the data in a row at a time and create a new object each
time with the name of the object being the the first record.
Sample Data & Code:
ABCD,12345,Object Description
objectname name = new objectname("ABCD","12345","Object Description");
Thanks in Advance,
Mica Cooper
PS. Please don't advise using arrays or vectors, I am trying to model
a complex object relationship without using a object database.
Technical Details
Message-ID:
<37223bb8.54523408@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,3bd2683886106cb3,start X-Google-Attributes: gidf74b3,public From: micacooper@tri-lakes.com (Mica Cooper) Subject: Dynamic Object naming Date: 1999/04/24 Message-ID: <37223bb8.54523408@forums.inprise.com> X-Deja-AN: 470486915 Organization: Cooper Consulting Newsgroups: borland.public.jbuilder.java.language