org.smartcrawler.retriever
Class Content

java.lang.Object
  extended by org.smartcrawler.retriever.Content

public class Content
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Davide Pozza

Constructor Summary
Content()
          Creates a new instance of Content
 
Method Summary
 boolean found()
           
 byte[] getBuffer()
           
 java.lang.String getContentType()
           
 Link getLink()
           
 boolean isRedirect()
           
 void setBuffer(byte[] buffer)
           
 void setContentType(java.lang.String contentType)
           
 void setFound(boolean isFound)
           
 void setIsRedirect(boolean isRedirect)
           
 void setLink(Link link)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content()
Creates a new instance of Content

Method Detail

getBuffer

public byte[] getBuffer()
Returns:

setBuffer

public void setBuffer(byte[] buffer)
Parameters:
buffer -

getContentType

public java.lang.String getContentType()
Returns:

setContentType

public void setContentType(java.lang.String contentType)
Parameters:
contentType -

getLink

public Link getLink()
Returns:

setLink

public void setLink(Link link)
Parameters:
link -

isRedirect

public boolean isRedirect()

setIsRedirect

public void setIsRedirect(boolean isRedirect)

found

public boolean found()

setFound

public void setFound(boolean isFound)


Copyright © 2005 sourceforge. All Rights Reserved.