org.genealogie.gedcom
Class GedcomGeneratorAll

java.lang.Object
  |
  +--org.genealogie.gedcom.GedcomGeneratorAll
All Implemented Interfaces:
java.lang.Runnable, org.genealogie.utils.Tache

public class GedcomGeneratorAll
extends java.lang.Object
implements java.lang.Runnable, org.genealogie.utils.Tache


Field Summary
private  int baseId
           
private  int cptFamille
           
private  int cptNote
           
private  int cptPersonne
           
private  int cptSource
           
private  boolean fin
           
private  java.util.Hashtable idFamilles
           
private  java.util.Hashtable idPersonnes
           
private  java.util.Hashtable idSources
           
private  java.util.Hashtable ligneFamilles
           
private  java.util.Hashtable lignePersonnes
           
private  java.util.Hashtable ligneSources
           
private  java.lang.String[] mois
           
private  java.lang.String nomFichier
           
private  java.lang.Thread progress
           
private  javax.swing.JProgressBar progressBar
           
private  java.lang.String racineImages
           
private  java.lang.String separateurMarge
           
private  ProgressDialog splash
           
private  java.lang.String typeMariageCivil
           
private  java.lang.String typeMariageReligieux
           
 
Constructor Summary
GedcomGeneratorAll(java.lang.String nomFichier, ProgressDialog splash, javax.swing.JProgressBar progressBar)
           
 
Method Summary
private  void chargerRessources()
           
 java.lang.String convertirDate(java.lang.String chaineDate)
           
private  java.lang.String convertirDateApproximative(java.lang.String dateApp)
           
private  org.genealogie.utils.ActeUtils getActeFamilleParType(java.util.Vector listeActe, int typeActeId)
           
private  org.genealogie.utils.ActeUtils getActeParType(java.util.Vector listeActe, int typeActeId)
           
private  java.util.Vector getConjoints(org.genealogie.dao.GenealogieBean genealogie, int personneId)
           
 java.lang.String getCorpsGedCom(javax.swing.JProgressBar progressBar)
           
 java.lang.String getEnteteGedCom(java.lang.String nomFichier)
           
 java.lang.String getFamilleGedCom(org.genealogie.dao.GenealogieBean genealogie, org.genealogie.dao.ActesBean actesB, int idMari, int idFemme)
           
 java.lang.String getFamilleUnParentGedCom(org.genealogie.dao.GenealogieBean genealogie, int idPere, int idMere)
           
 java.lang.String getPersonneGedCom(org.genealogie.dao.GenealogieBean genealogie, org.genealogie.dao.ActesBean actesB, int idPersonne, int idFamilleCouple, int idFamilleParents)
           
 java.lang.String getPiedGedCom()
           
 int getSourceGedCom(org.genealogie.utils.ActeUtils au)
           
 void interrompre()
           
 void run()
           
 java.lang.String updateFamilleGedCom(org.genealogie.dao.GenealogieBean genealogie, int idMari, int idFemme)
           
 java.lang.String updatePersonneGedCom(org.genealogie.dao.GenealogieBean genealogie, int idPersonne, int idFamilleCouple, int idFamilleParents)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

idPersonnes

private java.util.Hashtable idPersonnes

idFamilles

private java.util.Hashtable idFamilles

idSources

private java.util.Hashtable idSources

lignePersonnes

private java.util.Hashtable lignePersonnes

ligneFamilles

private java.util.Hashtable ligneFamilles

ligneSources

private java.util.Hashtable ligneSources

cptPersonne

private int cptPersonne

cptFamille

private int cptFamille

cptSource

private int cptSource

cptNote

private int cptNote

typeMariageCivil

private java.lang.String typeMariageCivil

typeMariageReligieux

private java.lang.String typeMariageReligieux

separateurMarge

private java.lang.String separateurMarge

racineImages

private java.lang.String racineImages

progress

private java.lang.Thread progress

baseId

private int baseId

nomFichier

private java.lang.String nomFichier

progressBar

private javax.swing.JProgressBar progressBar

splash

private ProgressDialog splash

fin

private boolean fin

mois

private java.lang.String[] mois
Constructor Detail

GedcomGeneratorAll

public GedcomGeneratorAll(java.lang.String nomFichier,
                          ProgressDialog splash,
                          javax.swing.JProgressBar progressBar)
Method Detail

interrompre

public void interrompre()
Specified by:
interrompre in interface org.genealogie.utils.Tache

chargerRessources

private void chargerRessources()

run

public void run()
Specified by:
run in interface java.lang.Runnable

convertirDate

public java.lang.String convertirDate(java.lang.String chaineDate)

getEnteteGedCom

public java.lang.String getEnteteGedCom(java.lang.String nomFichier)

getConjoints

private java.util.Vector getConjoints(org.genealogie.dao.GenealogieBean genealogie,
                                      int personneId)

getCorpsGedCom

public java.lang.String getCorpsGedCom(javax.swing.JProgressBar progressBar)

updateFamilleGedCom

public java.lang.String updateFamilleGedCom(org.genealogie.dao.GenealogieBean genealogie,
                                            int idMari,
                                            int idFemme)

getActeFamilleParType

private org.genealogie.utils.ActeUtils getActeFamilleParType(java.util.Vector listeActe,
                                                             int typeActeId)

convertirDateApproximative

private java.lang.String convertirDateApproximative(java.lang.String dateApp)

getFamilleGedCom

public java.lang.String getFamilleGedCom(org.genealogie.dao.GenealogieBean genealogie,
                                         org.genealogie.dao.ActesBean actesB,
                                         int idMari,
                                         int idFemme)

getFamilleUnParentGedCom

public java.lang.String getFamilleUnParentGedCom(org.genealogie.dao.GenealogieBean genealogie,
                                                 int idPere,
                                                 int idMere)

updatePersonneGedCom

public java.lang.String updatePersonneGedCom(org.genealogie.dao.GenealogieBean genealogie,
                                             int idPersonne,
                                             int idFamilleCouple,
                                             int idFamilleParents)

getActeParType

private org.genealogie.utils.ActeUtils getActeParType(java.util.Vector listeActe,
                                                      int typeActeId)

getPersonneGedCom

public java.lang.String getPersonneGedCom(org.genealogie.dao.GenealogieBean genealogie,
                                          org.genealogie.dao.ActesBean actesB,
                                          int idPersonne,
                                          int idFamilleCouple,
                                          int idFamilleParents)

getSourceGedCom

public int getSourceGedCom(org.genealogie.utils.ActeUtils au)

getPiedGedCom

public java.lang.String getPiedGedCom()


Copyright © 2002 JGenea Ihm. All Rights Reserved.