VIRGIN FOREST OF JAVA
不要埋头苦干,要学习,学习,再学习。。。。。
powered by R.Zeus
String indexPath = "E:\\Dsdfownloadsdftestr";//一个完整的路径 createNewFile()根据它创建文件!
File lockFile = new File(indexPath);
P.p("a"+lockFile.createNewFile()+"");
lockFile.createNewFile()
true if the named file does not exist and was successfully created; false if the named file already exists


lucene里利用这个进行锁定一些什么东西!
posted on 2005-11-03 22:01 R.Zeus 阅读(1247) 评论(0)  编辑  收藏 所属分类: J2SElucene

只有注册用户登录后才能发表评论。


网站导航: