Class Converter


  • public class Converter
    extends java.lang.Object
    Converts from textual to binary representation a web graph.

    This class reads from standard input a sequence of lines. Each line contains URLs separated by TABs. The first URL is assumed to be the URL of a page, and the remaining the URLs of successor pages. An accompanying CRC file specifies for each URL the corresponding node. The list may have duplicate pages, which will be skipped.

    The graph output by this class is compatible with BVGraph.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] arg)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String[] arg)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException,
                                com.martiansoftware.jsap.JSAPException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
        com.martiansoftware.jsap.JSAPException