|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.doc.DocumentFile
info.informatica.doc.TextDocument
info.informatica.www.WebPage
public abstract class WebPage
Abstract class that provides a TextDocument text document with
the proper methods to be handled as a web page, like a base URL or a
Reader-based content assignation.
| Constructor Summary | |
|---|---|
WebPage()
|
|
| Method Summary | |
|---|---|
URL |
getBase()
Gets the BASE URL |
abstract String |
getHttpEquiv(String name)
Get information overriding HTTP headers. |
abstract RobotInfo |
getRobotInfo()
Get the Robot information. |
URL |
getURL()
Gets the URL |
void |
setBase(URL base)
Sets the BASE URL |
void |
setURL(URL url)
Sets the URL. |
String |
urlToUri(String src)
Transforms an absolute URL into a relative URI. |
| Methods inherited from class info.informatica.doc.TextDocument |
|---|
getInputStream, getKeywords, getLanguage, getMetaInfo, load, load, load, setLanguage, toPureText, toString, write, write |
| Methods inherited from class info.informatica.doc.DocumentFile |
|---|
getLastUpdateDate, getMediaType, getSize, getTitle, setDate, setSize, setTitle, setType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface info.informatica.www.Hypertext |
|---|
getEmbeddedUrls, getLinkedUrls |
| Constructor Detail |
|---|
public WebPage()
| Method Detail |
|---|
public void setURL(URL url)
setURL in interface Hypertexturl - the URLpublic URL getURL()
getURL in interface Hypertextpublic void setBase(URL base)
setBase in interface Hypertextbase - the base URLpublic URL getBase()
getBase in interface Hypertextpublic String urlToUri(String src)
src - the URL to be converted to relative
public abstract String getHttpEquiv(String name)
name - the name of the HTTP header
public abstract RobotInfo getRobotInfo()
getRobotInfo in interface Hypertext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||