"storeDataMap" method

From: Andrei Adamchik (aadamchi..obox.com)
Date: Tue Jun 19 2001 - 20:32:26 EDT


I suggest defining "MapLoader.storeDataMap" in a form like:

public void storeDataMap(PrintWriter out, DataMap map);

I think this is more efficient then using a StringBuffer, cause big models
can be easily piped to a file or network connection, without storing a big
buffer in a memory.

Also, using a StringWriter can give access to StringBuffer if needed.

Andrei



This archive was generated by hypermail 2b30 : Sat Aug 04 2001 - 16:21:24 EDT