
<?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: Week 1 A to Z</title>
	<atom:link href="http://www.shiffman.net/teaching/a2z/week1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shiffman.net</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 06:20:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Daniel</title>
		<link>http://www.shiffman.net/teaching/a2z/week1/comment-page-1/#comment-9491</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 19 Jan 2007 03:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/teaching/programming-from-a-to-z/week-1-a-to-z/#comment-9491</guid>
		<description>Oops, fixed now, thanks!</description>
		<content:encoded><![CDATA[<p>Oops, fixed now, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vaibhav</title>
		<link>http://www.shiffman.net/teaching/a2z/week1/comment-page-1/#comment-9487</link>
		<dc:creator>vaibhav</dc:creator>
		<pubDate>Fri, 19 Jan 2007 01:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/teaching/programming-from-a-to-z/week-1-a-to-z/#comment-9487</guid>
		<description>Hi link to &quot;Strings, String Buffers, and String Builders&quot; under reading is dead.</description>
		<content:encoded><![CDATA[<p>Hi link to &#8220;Strings, String Buffers, and String Builders&#8221; under reading is dead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.shiffman.net/teaching/a2z/week1/comment-page-1/#comment-73</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 18 Jan 2006 23:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/teaching/programming-from-a-to-z/week-1-a-to-z/#comment-73</guid>
		<description>yup, that&#039;s right, the StringBuffer class has no getBytes() method so you have to convert it to a String first, using the toString() method. . .</description>
		<content:encoded><![CDATA[<p>yup, that&#8217;s right, the StringBuffer class has no getBytes() method so you have to convert it to a String first, using the toString() method. . .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.shiffman.net/teaching/a2z/week1/comment-page-1/#comment-72</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 18 Jan 2006 23:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/teaching/programming-from-a-to-z/week-1-a-to-z/#comment-72</guid>
		<description>Nevermind. Of course, when I finally breakdown and post a comment, I would find the answer immediately thereafter... the toString(); method gets my StringBuffer back to a String, right?</description>
		<content:encoded><![CDATA[<p>Nevermind. Of course, when I finally breakdown and post a comment, I would find the answer immediately thereafter&#8230; the toString(); method gets my StringBuffer back to a String, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.shiffman.net/teaching/a2z/week1/comment-page-1/#comment-71</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 18 Jan 2006 23:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/teaching/programming-from-a-to-z/week-1-a-to-z/#comment-71</guid>
		<description>bb = ByteBuffer.wrap(content.getBytes());
    outfc.write(bb);
    outfc.close();

should this code work if content is a StringBuffer instead of a String?? I&#039;m getting some inexplicable errors when I try to use the buffer instead. Do I need to convert my StringBuffer back into a String before I write in out of the FileChannel, or what?</description>
		<content:encoded><![CDATA[<p>bb = ByteBuffer.wrap(content.getBytes());<br />
    outfc.write(bb);<br />
    outfc.close();</p>
<p>should this code work if content is a StringBuffer instead of a String?? I&#8217;m getting some inexplicable errors when I try to use the buffer instead. Do I need to convert my StringBuffer back into a String before I write in out of the FileChannel, or what?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.shiffman.net/teaching/a2z/week1/comment-page-1/#comment-66</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 17 Jan 2006 19:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/teaching/programming-from-a-to-z/week-1-a-to-z/#comment-66</guid>
		<description>note to self: add something a bout comparing strings (i.e. = is no good)</description>
		<content:encoded><![CDATA[<p>note to self: add something a bout comparing strings (i.e. = is no good)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

