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 阅读(1273) 
评论(0)  编辑  收藏  所属分类: 
J2SE 、
lucene