void function ( File arg0 ) { Scanner loc0 = new Scanner ( arg0 ) ; loc0 . useDelimiter ( "srini_string" ) ; while ( loc0 . hasNext ( ) ) { _ignoreWords . add ( loc0 . next ( ) ) ; } loc0 . close ( ) ; }
reads file of words to ignore . ignore words are added to a set . the ioexception is passed to caller because we certinaly do n't know what the user interface issue is . concode_field_sep Comparator<Map.Entry<String,Int>> SORT_ALPHABETICALLY concode_elem_sep int _totalWords concode_elem_sep Set<String> _ignoreWords concode_elem_sep Comparator<Map.Entry<String,Int>> SORT_BY_FREQUENCY concode_elem_sep Map<String,Int> _wordFrequency concode_field_sep void countWords concode_elem_sep void countWords concode_elem_sep int getWordCount concode_elem_sep void getWordFrequency concode_elem_sep int[] getFrequencies concode_elem_sep int getEntryCount concode_elem_sep String[] getWords