<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Read/Write Files</title>
	<atom:link href="http://www.codingfriends.com/index.php/2009/07/27/readwrite-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codingfriends.com/index.php/2009/07/27/readwrite-files/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=readwrite-files</link>
	<description>Coding Friends, place for developers.</description>
	<lastBuildDate>Thu, 09 Feb 2012 11:20:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: SEO Manager</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/readwrite-files/comment-page-1/#comment-518</link>
		<dc:creator>SEO Manager</dc:creator>
		<pubDate>Thu, 12 Jan 2012 18:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=186#comment-518</guid>
		<description>Thanks for the article.
I thought I would leave you a comment, because there are a few articles ahead of you here and they arent as well written as yours.
I am taking Java 2 this semester and I forgot how to do the file input, so this is a great review.
Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the article.<br />
I thought I would leave you a comment, because there are a few articles ahead of you here and they arent as well written as yours.<br />
I am taking Java 2 this semester and I forgot how to do the file input, so this is a great review.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: genux</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/readwrite-files/comment-page-1/#comment-62</link>
		<dc:creator>genux</dc:creator>
		<pubDate>Mon, 07 Jun 2010 08:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=186#comment-62</guid>
		<description>thanks Sumish.. there is so many ways to complete a similar task :)</description>
		<content:encoded><![CDATA[<p>thanks Sumish.. there is so many ways to complete a similar task <img src='http://www.codingfriends.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumish</title>
		<link>http://www.codingfriends.com/index.php/2009/07/27/readwrite-files/comment-page-1/#comment-61</link>
		<dc:creator>Sumish</dc:creator>
		<pubDate>Sun, 06 Jun 2010 16:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingfriends.com/?p=186#comment-61</guid>
		<description>/* This is a better and simpler approach to read n write from and to a file in java */

import java.io.*;

class Filetransfer
{public static void main (String args[])
   {try
    {
     
     FileReader fr = new FileReader(&quot;testtry.txt&quot;);    // use any filename
     BufferedReader br = new BufferedReader(fr);
       int inputline;
     FileWriter fw = new FileWriter(&quot;hello.txt&quot;);      //use any filename
     
       while((inputline =br.read()) !=-1)              // check to see if the file has ended
     {
       fw.flush();
       fw.write(inputline);
  
      }
       fr.close();
       fw.close();
     }catch (IOException e){};

/* Program by Sumish Darak*/
   }

}</description>
		<content:encoded><![CDATA[<p>/* This is a better and simpler approach to read n write from and to a file in java */</p>
<p>import java.io.*;</p>
<p>class Filetransfer<br />
{public static void main (String args[])<br />
   {try<br />
    {</p>
<p>     FileReader fr = new FileReader(&#8220;testtry.txt&#8221;);    // use any filename<br />
     BufferedReader br = new BufferedReader(fr);<br />
       int inputline;<br />
     FileWriter fw = new FileWriter(&#8220;hello.txt&#8221;);      //use any filename</p>
<p>       while((inputline =br.read()) !=-1)              // check to see if the file has ended<br />
     {<br />
       fw.flush();<br />
       fw.write(inputline);</p>
<p>      }<br />
       fr.close();<br />
       fw.close();<br />
     }catch (IOException e){};</p>
<p>/* Program by Sumish Darak*/<br />
   }</p>
<p>}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

