net.vidageek.crawler.page
Class ErrorPage

java.lang.Object
  extended by net.vidageek.crawler.page.ErrorPage
All Implemented Interfaces:
Page

public final class ErrorPage
extends java.lang.Object
implements Page

Author:
jonasabreu

Constructor Summary
ErrorPage(java.lang.String url, Status error)
           
 
Method Summary
 java.lang.String getCharset()
           
 java.lang.String getContent()
           
 java.util.List<java.lang.String> getLinks()
           
 Status getStatusCode()
           
 java.lang.String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorPage

public ErrorPage(java.lang.String url,
                 Status error)
Method Detail

getContent

public java.lang.String getContent()
Specified by:
getContent in interface Page

getLinks

public java.util.List<java.lang.String> getLinks()
Specified by:
getLinks in interface Page

getUrl

public java.lang.String getUrl()
Specified by:
getUrl in interface Page

getStatusCode

public Status getStatusCode()
Specified by:
getStatusCode in interface Page

getCharset

public java.lang.String getCharset()
Specified by:
getCharset in interface Page


Copyright © 2008-2011 VidaGeek.net. All Rights Reserved.