Multithreading links scan from site with the help of ForkJoinPool and adding them to file with indents.
This JAVA program scans site for internal links in multithreading mode, writes them to the file. Than creates new file where it writes only unique links in tree like view with indents. You can specify relative volume of links to scan with the help of MAXRESULTSIZE variable.