All Packages Class Hierarchy This Package Previous Next Index
Class Pasiphae.TextHtml
java.lang.Object
|
+----Pasiphae.MIMEDoc
|
+----Pasiphae.Text
|
+----Pasiphae.TextHtml
- final class TextHtml
- extends Text
Classe correspondant au MIME type text/html
author-
generator-
title-
TextHtml(HttpURLConnection)
-
getAuthor()
-
getTitle()
-
parse(HttpURLConnection)
- parse le document html.
setAuthor(String)
-
setContentLanguage(String)
-
setGenerator(String)
-
setTitle(String)
-
toString()
-
title
protected String title
author
protected String author
generator
protected String generator
TextHtml
public TextHtml(HttpURLConnection urlc)
parse
public Vector parse(HttpURLConnection urlc) throws MalformedURLException, IOException, UnknownServiceException
- parse le document html. extrait le titre, le nom de l'auteur
et le generateur. renvoit une liste de liens rencontres dans le document
- Overrides:
- parse in class MIMEDoc
setTitle
public void setTitle(String title)
setAuthor
public void setAuthor(String author)
setGenerator
public void setGenerator(String generator)
setContentLanguage
public void setContentLanguage(String contentLanguage)
- Overrides:
- setContentLanguage in class MIMEDoc
getTitle
public String getTitle()
getAuthor
public String getAuthor()
toString
public String toString()
- Overrides:
- toString in class MIMEDoc
All Packages Class Hierarchy This Package Previous Next Index