public synchronized boolean wordsFileIsChange() {
		//检查是否有修改文件,包括删除的
		for(Entry<File, Long> flt : wordsLastTime.entrySet()) {
			File words = flt.getKey();
			if(!words.canRead()) {	//可能是删除了
				return true;
			}
			if(words.lastModified() > flt.getValue()) {	//更新了文件
				return true;
			}
		}
		//检查是否有新文件
		File[] words = listWordsFiles();
		if(words != null) {
			for(File wordsFile : words) {
				if(!wordsLastTime.containsKey(wordsFile)) {	//有新词典文件
					return true;
				}
			}
		}
		return false;
	}
public synchronized boolean wordsFileIsChange ( ) { for ( Entry < File , Long > flt : wordsLastTime . entrySet ( ) ) { File words = flt . getKey ( ) ; if ( ! words . canRead ( ) ) { return true ; } if ( words . lastModified ( ) > flt . getValue ( ) ) { return true ; } } File [ ] words = listWordsFiles ( ) ; if ( words != null ) { for ( File wordsFile : words ) { if ( ! wordsLastTime . containsKey ( wordsFile ) ) { return true ; } } } return false ; }
词典文件是否有修改过
@return