it.unimi.dsi.webgraph
Class BuildHostMap

java.lang.Object
  extended by it.unimi.dsi.webgraph.BuildHostMap

public class BuildHostMap
extends Object

Reads a list of URLs from standard input and writes to standard output a host map in DataOutput format.

Warning: this tool saves to standard output, but does some Log4J logging, too, so be careful not to log to standard output.

Author:
Sebastiano Vigna

Constructor Summary
BuildHostMap()
           
 
Method Summary
static void main(String[] args)
           
static void run(FastBufferedReader fbr, DataOutputStream dos, ProgressLogger pl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildHostMap

public BuildHostMap()
Method Detail

run

public static void run(FastBufferedReader fbr,
                       DataOutputStream dos,
                       ProgressLogger pl)
                throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException