bbogdasha / urlReader

Sorted top 10 domains from text file with url addresses.

Repository from Github https://github.combbogdasha/urlReaderRepository from Github https://github.combbogdasha/urlReader

Url Reader

The program reads a text file urls.txt (more than 40k addresses) and displays the top 10 most common domains to the console. The program takes into account possible spaces and invalid characters, and also sorts the result in descending order.

Tech

  • HashMap, BufferReader;
  • Java 8. Stream;
  • Java 8. Lambda.

Result

In console sorted top 10 domains without addresses:

Screenshot

About

Sorted top 10 domains from text file with url addresses.


Languages

Language:Java 100.0%