|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectISSearch.ISDocument
This mandatory class must implement all functions prescribed by ISDocumentInterface
| Constructor Summary | |
ISDocument()
Creates a new instance of ISDocument |
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ISDocument()
| Method Detail |
public java.net.URL[] getUrls()
getUrls in interface ISDocumentInterfaceArray of URL), or null when no links were foundpublic void setUrls(java.net.URL[] u)
setUrls in interface ISDocumentInterfaceu - is the URL[] which contains the absolute URLs extracted from the current document.public ISTermInterface[] getTerms()
getTerms in interface ISDocumentInterfaceArray 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)
setTerms in interface ISDocumentInterfacet - is the ISTermInterface[] which contains extracted words.public java.lang.String getLink()
getLink in interface ISDocumentInterfaceStringpublic void setLink(java.lang.String u)
setLink in interface ISDocumentInterfaceu - 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 | |||||||||