spider.util
Class Page

java.lang.Object
  |
  +--spider.util.Page

public class Page
extends java.lang.Object

Class defines the web page data structure

Author:
Gautam Pant

Field Summary
 int code
          code indicates potential problems with the page or some other event associetd with it 0 - no problem 1 - page not found 2 - redirected page 3 - time-out 4 - other
 java.lang.String content
           
 long lastModified
           
 long size
           
 
Constructor Summary
Page()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

public java.lang.String content

lastModified

public long lastModified

size

public long size

code

public int code
code indicates potential problems with the page or some other event associetd with it 0 - no problem 1 - page not found 2 - redirected page 3 - time-out 4 - other

See Also:
Fetcher
Constructor Detail

Page

public Page()