nat.convertisseur

Class Convertisseur2ODT

    • Constructor Summary

      Constructors 
      Constructor and Description
      Convertisseur2ODT(java.lang.String src, java.lang.String tgt)
      Constructeur
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean convertir(GestionnaireErreur g)
      Convertit en odt un document doc, rtf, ou tout autre en faisant appel à l'API d'openoffice Convertit ensuite cet odt au format interne
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OS_LINUX

        public static final int OS_LINUX
        Constante pour représenter l'OS LINUX
        See Also:
        Constant Field Values
      • OS_WINDOWS

        public static final int OS_WINDOWS
        Constante pour représenter l'OS WINDOWS
        See Also:
        Constant Field Values
      • OS_MAC

        public static final int OS_MAC
        Constante pour représenter l'OS MAC
        See Also:
        Constant Field Values
    • Constructor Detail

      • Convertisseur2ODT

        public Convertisseur2ODT(java.lang.String src,
                         java.lang.String tgt)
        Constructeur
        Parameters:
        src - adresse du fichier source
        tgt - adresse du fichier cible
    • Method Detail

      • convertir

        public boolean convertir(GestionnaireErreur g)
        Convertit en odt un document doc, rtf, ou tout autre en faisant appel à l'API d'openoffice Convertit ensuite cet odt au format interne
        Specified by:
        convertir in class Convertisseur
        Parameters:
        g - une instance de GestionnaireErreur
        Returns:
        true si la conversion s'est bien passée