(String[] args)
| 34 | */ |
| 35 | private static Set<SortString> contentSet ; |
| 36 | public static void main(String[] args) { |
| 37 | contentSet = new TreeSet<>() ; |
| 38 | countMap = new HashMap<>(30) ; |
| 39 | File file = new File(path) ; |
| 40 | try { |
| 41 | //查找 |
| 42 | sortAndFindKeyWords(file); |
| 43 | |
| 44 | LOGGER.info(contentSet.toString()); |
| 45 | |
| 46 | } catch (IOException e) { |
| 47 | LOGGER.error("IOException",e); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * 查找关键字 |
nothing calls this directly
no test coverage detected