﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-VIRGIN FOREST OF JAVA-文章分类-lucene</title><link>http://www.blogjava.net/RR00/category/4450.html</link><description>不要埋头苦干，要学习，学习，再学习。。。。。
&lt;br&gt;
powered  by &lt;font color='orange'&gt;R.Zeus&lt;/font&gt;</description><language>zh-cn</language><lastBuildDate>Tue, 27 Feb 2007 22:37:17 GMT</lastBuildDate><pubDate>Tue, 27 Feb 2007 22:37:17 GMT</pubDate><ttl>60</ttl><item><title>File.createNewFile()</title><link>http://www.blogjava.net/RR00/articles/18021.html</link><dc:creator>R.Zeus</dc:creator><author>R.Zeus</author><pubDate>Thu, 03 Nov 2005 14:01:00 GMT</pubDate><guid>http://www.blogjava.net/RR00/articles/18021.html</guid><wfw:comment>http://www.blogjava.net/RR00/comments/18021.html</wfw:comment><comments>http://www.blogjava.net/RR00/articles/18021.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/RR00/comments/commentRss/18021.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/RR00/services/trackbacks/18021.html</trackback:ping><description><![CDATA[String indexPath = "E:\\Dsdfownloadsdftestr";//一个完整的路径 createNewFile()根据它创建文件！<BR>File lockFile = new File(indexPath);<BR>P.p("a"+lockFile.createNewFile()+"");<BR><FONT style="BACKGROUND-COLOR: #ffa500">lockFile.createNewFile()<BR><CODE>true</CODE> if the named file does not exist and was successfully created; <CODE>false</CODE> if the named file already exists</FONT> <BR><BR>lucene里利用这个进行锁定一些什么东西！<img src ="http://www.blogjava.net/RR00/aggbug/18021.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/RR00/" target="_blank">R.Zeus</a> 2005-11-03 22:01 <a href="http://www.blogjava.net/RR00/articles/18021.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>