<?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>中文Flex例子 &#187; INI</title>
	<atom:link href="http://blog.minidx.com/tag/ini/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>一个非常好用的Java读写INI配置文件的类</title>
		<link>http://blog.minidx.com/2008/11/17/1630.html</link>
		<comments>http://blog.minidx.com/2008/11/17/1630.html#comments</comments>
		<pubDate>Sun, 16 Nov 2008 16:04:07 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[程序开发相关]]></category>
		<category><![CDATA[INI]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/11/17/1630.html</guid>
		<description><![CDATA[由于一个老项目中需要用Java读写INI配置文件，找了一下，发现“由月”写的类相当的好用，省却了我不少事情，感谢“由月”，下面是代码：








package&#160;&#160; mytools;
&#160;
import&#160; java.io.BufferedReader;
import&#160; java.io.BufferedWriter;
import&#160; java.io.FileReader;
import&#160; java.io.FileWriter;
import&#160; java.io.IOException;
import&#160; java.util.regex.Matcher;
import&#160; java.util.regex.Pattern;
&#160;
/** */&#160;/**
* 这是个配置文件操作类，用来读取和设置ini配置文件
*  @author  由月
*  @version  2004-08-18
*/
public&#160;&#160; final&#160;&#160; class&#160; ConfigurationFile&#160; {
/** */&#160;/**
* 从ini配置文件中读取变量的值
*  @param  file 配置文件的路径
*  @param  section 要获取的变量所在段名称
*  @param  variable 要获取的变量名称
*  @param  defaultValue 变量名称不存在时的默认值
*  @return  变量的值
*  @throws  IOException 抛出文件操作可能出现的io异常
*/
public&#160;&#160; static&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/11/17/1630.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/14 queries in 0.007 seconds using disk
Object Caching 145/309 objects using disk

Served from: blog.minidx.com @ 2012-02-09 15:17:53 -->
