Class CIndexedPage
java.lang.Object
|
+----CIndexedPage
- public class CIndexedPage
- extends Object
The CIndexedPage class is a replacement for PPage after
a page has been indexed.
- Version:
- 0.3
- Author:
- Jörg Caumanns
-
CIndexedPage(PPage)
- The Constructor.
-
appendMeta(String, String)
- This method appends a meta tag to a vector of meta tags.
-
getContentLength()
- This method returns the length of the content of the page.
-
getDocRep()
- This method returns the encoded content of the document
-
getLastModified()
- This method returns the date the page was last modified.
-
getLinkedDocumentIDs()
- This method returns the IDs of all documents linked by this one.
-
getMeta()
- This method returns a vector containing the meta tags of the page.
-
getPageURL()
- This method returns the URL of the page.
-
getTemporaryLinkedDocumentIDs()
- for internal use only
-
getWordCount()
- This method returns the number of words on the page.
-
replaceWordInDocRep(int, int)
- for internal use only
-
setDocRep(Vector)
- for internal use only
-
setLinkedDocumentIDs(int[])
- for internal use only
-
setTemporaryLinkedDocumentIDs(Vector)
- for internal use only
CIndexedPage
public CIndexedPage(PPage page)
- The Constructor.
getMeta
public Vector getMeta()
- This method returns a vector containing the meta tags of the page.
getLastModified
public long getLastModified()
- This method returns the date the page was last modified.
getPageURL
public String getPageURL()
- This method returns the URL of the page.
getContentLength
public long getContentLength()
- This method returns the length of the content of the page.
getWordCount
public long getWordCount()
- This method returns the number of words on the page.
getDocRep
public int[] getDocRep()
- This method returns the encoded content of the document
getLinkedDocumentIDs
public int[] getLinkedDocumentIDs()
- This method returns the IDs of all documents linked by this one.
appendMeta
public void appendMeta(String name,
String value)
- This method appends a meta tag to a vector of meta tags.
setDocRep
public void setDocRep(Vector vecDocRep)
- for internal use only
replaceWordInDocRep
public void replaceWordInDocRep(int idOld,
int idNew)
- for internal use only
setLinkedDocumentIDs
public void setLinkedDocumentIDs(int a[])
- for internal use only
getTemporaryLinkedDocumentIDs
public Vector getTemporaryLinkedDocumentIDs()
- for internal use only
setTemporaryLinkedDocumentIDs
public void setTemporaryLinkedDocumentIDs(Vector vec)
- for internal use only