Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Saving an array

Thread view: 
deanfamily - 27 Nov 2005 21:23 GMT
I have an array of items that I need to save to a file.  How do you do this?
Oliver Wong - 28 Nov 2005 16:16 GMT
>I have an array of items that I need to save to a file.  How do you do
>this?

   Iterate through the array and save each item.

   - Oliver
Hal Rosser - 28 Nov 2005 22:48 GMT
> I have an array of items that I need to save to a file.  How do you do this?

Iterate through the array and either write each item to a line in a file -
OR - build a delimited String from the array and write the string to a file.

Aftr you do that - your next question would be how to open and read a file.
Remon van Vliet - 09 Apr 2006 23:33 GMT
>I have an array of items that I need to save to a file.  How do you do
>this?

Depends on the type of items, the short and easy answer to your question is
: buy a beginner level Java book or find tutorials online. If you're more
specific regarding the items that need saving people can probably help you
out


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.