|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectikbs.illustration.html.HtmlExporter
public class HtmlExporter
Pour exporter l'index au format HTML
| Field Summary | |
|---|---|
protected static java.lang.String |
def_Border
|
protected static java.lang.String |
def_Border2
|
protected static java.lang.String |
def_Border3
|
protected static java.lang.String |
def_href
|
protected java.lang.String |
directory
|
protected java.lang.String |
nomBack
|
protected java.lang.String |
nomFich
|
protected Property |
property
|
protected java.lang.String |
title
|
protected java.util.Vector |
vIllu
|
| Constructor Summary | |
|---|---|
HtmlExporter(IllustrationOwner owner,
Property property,
java.lang.String directory,
java.lang.String nomBack)
|
|
HtmlExporter(java.util.Vector vIllu,
Property property)
|
|
HtmlExporter(java.util.Vector vIllu,
Property property,
java.lang.String directory,
java.lang.String nomBack)
|
|
| Method Summary | |
|---|---|
void |
affEnTete(java.io.BufferedWriter writer,
java.lang.String title)
Afficher en tête |
java.lang.String |
chooseImage(int type)
Choisir le nom de la ressource en fonction de son type |
java.lang.String |
encodeGuillemets(java.lang.String s)
Permet de convertir proprement une String pour les popup HTML évite les ' -> remplacé par des \' |
java.lang.String |
encodeRetours(java.lang.String s)
Permet de convertir proprement une String pour les popup HTML évite les retours chariots |
void |
exporter()
Exporter en HTML avec choix de la destination |
void |
exporter(java.io.BufferedWriter writer)
Exporter en HTML |
void |
exporter(java.io.File fichier)
Exporter le fichier File |
java.lang.String |
genererPopUp(IllustrationPicture ip)
|
java.lang.String |
genNomHTML(IllustrationPicture ip)
|
java.lang.String |
getPath(IllustrationPicture ip)
Pour récupérer le nom d'accès à l'illustration Si l'illustration est de type index ou folder, on exporte un nouveau fichier HTML que l'on référence |
java.lang.String |
getPathThumb(IllustrationPicture ip)
Récupérer le nom d'accès au thumbnail |
java.lang.String |
getTitle()
Retourner le nom de la page courante |
void |
setTitle(java.lang.String t)
Affectation du nom de la page |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String def_Border
protected static java.lang.String def_Border2
protected static java.lang.String def_Border3
protected static java.lang.String def_href
protected java.util.Vector vIllu
protected Property property
protected java.lang.String directory
protected java.lang.String nomFich
protected java.lang.String nomBack
protected java.lang.String title
| Constructor Detail |
|---|
public HtmlExporter(java.util.Vector vIllu,
Property property)
public HtmlExporter(IllustrationOwner owner,
Property property,
java.lang.String directory,
java.lang.String nomBack)
public HtmlExporter(java.util.Vector vIllu,
Property property,
java.lang.String directory,
java.lang.String nomBack)
| Method Detail |
|---|
public java.lang.String getTitle()
public void setTitle(java.lang.String t)
public java.lang.String getPathThumb(IllustrationPicture ip)
public java.lang.String getPath(IllustrationPicture ip)
public java.lang.String genNomHTML(IllustrationPicture ip)
public void affEnTete(java.io.BufferedWriter writer,
java.lang.String title)
throws java.io.IOException
java.io.IOExceptionpublic void exporter()
public void exporter(java.io.File fichier)
public void exporter(java.io.BufferedWriter writer)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String genererPopUp(IllustrationPicture ip)
public java.lang.String chooseImage(int type)
public java.lang.String encodeGuillemets(java.lang.String s)
public java.lang.String encodeRetours(java.lang.String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||