Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.stanford.genetics.treeview
Class UrlScanner  view UrlScanner download UrlScanner.java

java.lang.Object
  extended byedu.stanford.genetics.treeview.FileScanner
      extended byedu.stanford.genetics.treeview.UrlScanner

public class UrlScanner
extends FileScanner

Scan a resource to find the number of tabs and newlines in it. This class implements a scanner which calculates

It will throw an exception if there are not the same number of tabs in every line As with the FileScanner, it does the scan when it is constructed.

Version:
$Revision: 1.2 $ $Date: 2003/06/22 08:39:03 $

Field Summary
 
Fields inherited from class edu.stanford.genetics.treeview.FileScanner
st
 
Constructor Summary
UrlScanner(java.lang.String urlString)
          Constructor for the UrlScanner object
 
Method Summary
static void main(java.lang.String[] argv)
          A test program.
 
Methods inherited from class edu.stanford.genetics.treeview.FileScanner
count, eWeightLine, lines, tabs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlScanner

public UrlScanner(java.lang.String urlString)
           throws java.io.IOException
Constructor for the UrlScanner object

Method Detail

main

public static void main(java.lang.String[] argv)
A test program.