At 02:37 PM 8/21/2002 -0700, you wrote:
>This is exactly what I am talking about.  Writing to file using Java IO is 
>like using a supercomputer to add 1 + 1.  Java is a full-featured language 
>for the enterprise.  However, this means that every little thing now 
>requires a "sledgehammer" approach to solve it.
>
>Although some people (possibly those bitten by radioactive spiders?) will 
>froth at the mouth from this thought, I want to state once again: I 
>am  NOT trying to solve the world's hunger problems or create peace in the 
>Middle East. I am just trying to write a String to a file.  That is 
>all.  99% of all the file-writing code just wants to do that and nothing 
>else. Yet this "very simple" functionality is not at all that simple in 
>Java.  In fact it is awkward for almost everyone who does not deal with 
>this every day.


new FileWriter(fileName).write(yourString);

Seems pretty simple to me.


DR



To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to