Class GrabPage

java.lang.Object
  |
  +--GrabPage

public class GrabPage
extends java.lang.Object


Field Summary
protected  java.lang.String file
           
protected  java.lang.String host
           
protected  int port
           
protected  java.io.BufferedReader reader
           
protected  java.io.Writer writer
           
 
Constructor Summary
GrabPage(java.lang.String textURL)
           
 
Method Summary
protected  void connect()
           
protected  void disconnect()
           
protected  void dissect(java.lang.String textURL)
           
protected  void fetch()
           
 void grab()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

host

protected java.lang.String host

file

protected java.lang.String file

port

protected int port

writer

protected java.io.Writer writer

reader

protected java.io.BufferedReader reader
Constructor Detail

GrabPage

public GrabPage(java.lang.String textURL)
         throws java.io.IOException
Method Detail

dissect

protected void dissect(java.lang.String textURL)
                throws java.net.MalformedURLException

grab

public void grab()
          throws java.io.IOException

connect

protected void connect()
                throws java.io.IOException

fetch

protected void fetch()
              throws java.io.IOException

disconnect

protected void disconnect()
                   throws java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException