ikbs.files.illustration
Class IndexSaver

java.lang.Object
  extended by ikbs.files.IkbsFile
      extended by ikbs.files.illustration.IndexSaver

public class IndexSaver
extends IkbsFile


Field Summary
protected static java.lang.String def_Properties
           
protected  PropertySaver property
           
 
Fields inherited from class ikbs.files.IkbsFile
docBase, editeur, fichier
 
Constructor Summary
IndexSaver(Updater editeur, java.net.URL docBase)
           
IndexSaver(Updater editeur, java.net.URL docBase, PropertySaver property)
           
 
Method Summary
 Illustration loadIndex(IllustrationOwner owner, java.io.InputStream data)
          Parsing du fichier et reconstruction des illustrations
 boolean loadIndexDistant(IllustrationOwner owner, java.lang.String nomFich)
          Chargement d'un index distant
 boolean loadIndexLocal(IllustrationOwner owner)
          Chargement d'un index en local.
 boolean loadIndexLocal(IllustrationOwner owner, java.lang.String nomFich)
          Chargement d'un index en local.
 void sauverIndex(IllustrationOwner owner)
           
 void sauverIndexSous(IllustrationOwner owner)
          Sauvegarde de l'index en local sous forme textuelle avec sélecteur de fichier
 void saveIndex(java.util.Vector vIllu, java.io.BufferedWriter writer)
           
 void saveProperties(java.io.BufferedWriter writer)
           
 
Methods inherited from class ikbs.files.IkbsFile
formeNormale, getBoolean, getEditeur, getFile, getFloat, getInt, getMultiLigneString, getURL, nomRelatif, setEditeur, setFile, setURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

def_Properties

protected static final java.lang.String def_Properties

property

protected PropertySaver property
Constructor Detail

IndexSaver

public IndexSaver(Updater editeur,
                  java.net.URL docBase)

IndexSaver

public IndexSaver(Updater editeur,
                  java.net.URL docBase,
                  PropertySaver property)
Method Detail

sauverIndexSous

public void sauverIndexSous(IllustrationOwner owner)
Sauvegarde de l'index en local sous forme textuelle avec sélecteur de fichier


sauverIndex

public void sauverIndex(IllustrationOwner owner)

saveIndex

public void saveIndex(java.util.Vector vIllu,
                      java.io.BufferedWriter writer)
               throws java.io.IOException
Throws:
java.io.IOException

loadIndexDistant

public boolean loadIndexDistant(IllustrationOwner owner,
                                java.lang.String nomFich)
Chargement d'un index distant


loadIndexLocal

public boolean loadIndexLocal(IllustrationOwner owner)
Chargement d'un index en local. Le fichier doit être au format textuelle index


loadIndexLocal

public boolean loadIndexLocal(IllustrationOwner owner,
                              java.lang.String nomFich)
Chargement d'un index en local. Le fichier doit être au format textuelle index


loadIndex

public Illustration loadIndex(IllustrationOwner owner,
                              java.io.InputStream data)
                       throws java.io.IOException
Parsing du fichier et reconstruction des illustrations

Throws:
java.io.IOException

saveProperties

public void saveProperties(java.io.BufferedWriter writer)
                    throws java.io.IOException
Throws:
java.io.IOException