|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is used to represent the parsed document. The objects that implement this interface are used to store extracted words and links. The solution must contain the class that implements all functions prescribed by this interface.
URL| Method Summary | |
java.lang.String |
getLink()
Returns the absolute URL of the current document |
ISTermInterface[] |
getTerms()
Returns the bag of words extracted from the document. |
java.net.URL[] |
getUrls()
Returns the set of absolute Url's extracted from the current document. |
void |
setLink(java.lang.String u)
Sets the absolute URL of the current document |
void |
setTerms(ISTermInterface[] t)
Sets the bag of words extracted from the document (without stopwords). |
void |
setUrls(java.net.URL[] u)
Sets the set of absolute Url's extracted from the current document. |
| Method Detail |
public java.net.URL[] getUrls()
Array of URL), or null when no links were foundpublic void setUrls(java.net.URL[] u)
u - is the URL[] which contains the absolute URLs extracted from the current document.public ISTermInterface[] getTerms()
Array of words extracted from the document (as Array of Objects that must implement ISTermInterface), or null when no terms were foundpublic void setTerms(ISTermInterface[] t)
t - is the ISTermInterface[] which contains extracted words.public java.lang.String getLink()
Stringpublic void setLink(java.lang.String u)
u - is the String which contains the URL of the current document
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||