Hi All,
I am wondering how flush works in java..I am constructing a big
string from a DB result object using a StringBuffer. Since I don't want to keep the big string in memory I would like to keep flushing it once in a while..while I am constructing it..
I need to have the final String written to a file in some cases and also return just as a String in some cases.Can Any one provide any insight..if possible with some code.
Thanks