Index: topia2/src/java/org/codelutin/topia/TopiaContext.java diff -u topia2/src/java/org/codelutin/topia/TopiaContext.java:1.12 topia2/src/java/org/codelutin/topia/TopiaContext.java:1.13 --- topia2/src/java/org/codelutin/topia/TopiaContext.java:1.12 Mon Aug 21 12:56:51 2006 +++ topia2/src/java/org/codelutin/topia/TopiaContext.java Fri Aug 25 16:58:12 2006 @@ -23,9 +23,9 @@ * Created: 3 janv. 2006 21:18:34 * * @author poussin - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ * - * Last update: $Date: 2006/08/21 12:56:51 $ + * Last update: $Date: 2006/08/25 16:58:12 $ * by : $Author: bpoussin $ */ @@ -215,14 +215,18 @@ * application * * @param file le nom du fichier ou stocker les informations + * @param compress si vrai compress le fichier avec gzip + * * @throws TopiaException */ - public void backup(File file) throws TopiaException; + public void backup(File file, boolean compress) throws TopiaException; /** * l'inverse de la methode {@link #backup(File)} * - * @param file le fichier ou prendre les informations + * @param file le fichier ou prendre les informations, il peut-etre + * compressé avec gzip ou non. + * * @throws TopiaException */ public void restore(File file) throws TopiaException;