<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>老余 &#187; Commons</title>
	<atom:link href="http://laoyu.info/archives/tag/commons/feed" rel="self" type="application/rss+xml" />
	<link>http://laoyu.info</link>
	<description>Dreams are hard to follow,but dont let anyone tear them away!Hold on!</description>
	<lastBuildDate>Thu, 21 Jul 2011 15:51:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Commons IO方便读写文件的工具类</title>
		<link>http://laoyu.info/archives/282.html</link>
		<comments>http://laoyu.info/archives/282.html#comments</comments>
		<pubDate>Mon, 05 Jan 2009 13:12:20 +0000</pubDate>
		<dc:creator>老余</dc:creator>
				<category><![CDATA[技术·学习]]></category>
		<category><![CDATA[Commons]]></category>

		<guid isPermaLink="false">http://laoyu.info/?p=282</guid>
		<description><![CDATA[Commons IO是apache的一个开源的工具包,封装了IO操作的相关类,使用Commons IO可以很方便的读写文件,url源代码等. 普通地读取一个网页的源代码的代码可能如下 InputStream in = new URL( "http://laoyu.info" ).openStream(); try { InputStreamReader inR = new InputStreamReader( in ); BufferedReader buf = new BufferedReader( inR ); String line; while ( ( line = buf.readLine() ) != null ) { System.out.println( line ); } } finally { in.close(); } 使用了Commons IO,则可以大大简化代码.如下: InputStream in = new [...]]]></description>
		<wfw:commentRss>http://laoyu.info/archives/282.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

