java.lang.Object
edu.stanford.genetics.treeview.FileScanner
edu.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
- how many lines are in a url resource
- the number of tabs in the first non-whitespace line
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 $
Fields inherited from class edu.stanford.genetics.treeview.FileScanner |
st |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlScanner
public UrlScanner(java.lang.String urlString)
throws java.io.IOException
- Constructor for the UrlScanner object
main
public static void main(java.lang.String[] argv)
- A test program.