Description: (Statistics Java source code keywords) to program, read a Java source code files, reports the number of keywords in the file. Transfer the file from the command line name. Programming Tip: Java keywords set formation Method One: Create a rule set the hash object, use the add () to all the Java keywords stored in the collection Method Two: Creating a Java key store file, and then the contents of the file read into a hash rule set. Treatment of Java source code files (see Exercise b of the document processing) the number of original documents keyword statistics: If a word in the keyword set, then the counter by 1 or counters unchanged.
To Search:
File list (Check if you may need any files):
KeyWord.java
说明.txt