Class ASDump

java.lang.Object
  |
  +--ASDump

public class ASDump
extends java.lang.Object

ASDump.java Jim Gast, jgast@cs.wisc.edu.

This program reads the ASTree.txt file containing the clusters of Autonomous Systems. See MakeASTree.java for more information about that file. An ASDump reads lines of ASTree.txt until EOF. The ASTree file is expected to have:

Each AS line contains: AS lines can contain other fields that are not needed.


Field Summary
static java.lang.String DEFAULT_FILE
           
 
Constructor Summary
ASDump()
           
ASDump(java.lang.String fileName)
           
 
Method Summary
 void close()
           
 java.lang.String getFileName()
           
 ASN[] loadASTree()
           
static void main(java.lang.String[] args)
          main method is used for testing the class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FILE

public static final java.lang.String DEFAULT_FILE
See Also:
Constant Field Values
Constructor Detail

ASDump

public ASDump(java.lang.String fileName)

ASDump

public ASDump()
Method Detail

loadASTree

public ASN[] loadASTree()
                 throws java.io.IOException
java.io.IOException

close

public void close()

getFileName

public java.lang.String getFileName()

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
main method is used for testing the class

java.io.IOException