Re: MapLoader is working

From: Andrei Adamchik (aadamchi..ogical-process.com)
Date: Tue Apr 10 2001 - 12:47:18 EDT


I suggest we define a method like

         public void storeDataMap(java.io.PrintWriter out, DataMap map)

in MapLoader interface instead of

         public StringBuffer storeDataMap(DataMap map);

to allow maximum flexibility and performance. PrintWriter can wrap any
underline data storage (StringBuffer, OutputStream etc.) and has methods
that are as convenient for serial access as StringBuffer.append();

Andrei

At 12:59 AM 4/10/2001 -0400, Michael Misha Shengaout wrote:
>Folks,
>
>MapLoaderImpl is checked in. It can both load DataMap from XML and save
>it back to XML (See MapLoader interface). I have tested it (see main()),
>and the resulting file has the same data (though not in the same order)
>as the source. Also, I have SqlTypeMapping class for mapping standard
>types from its name into java.sql.Types value - may be useful.
>
>So, please let me know if there are any other hold-ups. My next steps:
>- add exception mechanism and some error checking.
>- start working on loading the meta data from the database
>- Start working on the GUI tool allowing to manage the map graphically.
>
>Please let me know if there is any need to work together on any other
>areas. I may be useful to have extra pair of eyes looking at the
>problem.
>
>Misha



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