0

I have worked with maps before and I have come to the point where I need to save a map when I quit an application and load it when I open application.

How can I achieve this goal?

Do I have to save it to a file upon exit and then read it when I launch an application? Or put it into a data base?

Any help is appreciated.

Thanks.

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by slatk3y
0

Hello,

I have no experience in maps loading/saving. But, what you can have a look at is the output and input stream. lets assume its a text file, or a any file of some sort. You could save it to a location in your hard disk or next to where your program is located, then load it upon launch (main method).

Look at the output and input stream in the Java API section.

Hope this helps =).

Edited by roswell67: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.