Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > help about File...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 16 Topic 15991 of 16078
Post > Topic >>

help about FileWriter

by xinxin <jnzhouxinxin@[EMAIL PROTECTED] > Apr 19, 2008 at 06:38 AM

String
format=3D""+year+"=C4=EA"+month+"=D4=C2\n"+day+"=C8=D5"+hour+"=CA=B1"=
+min+"=B7=D6"  + "
"+task+\n;

 FileWriter writer =3D new FileWriter(taskFile, true);
   writer.write(format);



I expect  there is a newline ,but I was frustrated.how strange it
is.who can explain why and tell me how to make a newline using
FileWriter




 16 Posts in Topic:
help about FileWriter
xinxin <jnzhouxinxin@[  2008-04-19 06:38:14 
Re: help about FileWriter
Alex.From.Ohio.Java@[EMAI  2008-04-19 07:31:20 
Re: help about FileWriter
TheBigPJ <TheBigPJ@[EM  2008-04-19 08:55:33 
Re: help about FileWriter
xinxin <jnzhouxinxin@[  2008-04-19 17:28:21 
Re: help about FileWriter
Mark Space <markspace@  2008-04-19 19:54:07 
Re: help about FileWriter
xinxin <jnzhouxinxin@[  2008-04-19 21:53:35 
Re: help about FileWriter
Lew <lew@[EMAIL PROTEC  2008-04-20 09:38:17 
Re: help about FileWriter
xinxin <jnzhouxinxin@[  2008-04-21 07:04:55 
Re: help about FileWriter
xinxin <jnzhouxinxin@[  2008-04-21 07:05:19 
Re: help about FileWriter
Lew <lew@[EMAIL PROTEC  2008-04-21 20:01:13 
Re: help about FileWriter
xinxin <jnzhouxinxin@[  2008-04-21 17:46:23 
Re: help about FileWriter
Lew <lew@[EMAIL PROTEC  2008-04-21 21:14:16 
Re: help about FileWriter
xinxin <jnzhouxinxin@[  2008-04-21 22:03:33 
Re: help about FileWriter
thufir <hawat.thufir@[  2008-04-22 07:30:47 
Re: help about FileWriter
Lew <lew@[EMAIL PROTEC  2008-04-22 07:13:35 
Re: help about FileWriter
thufir <hawat.thufir@[  2008-04-23 07:19:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 23:20:35 CDT 2008.