org.jtheque.core.managers.file.impl
Class JTDBackuper

java.lang.Object
  extended by org.jtheque.core.managers.file.impl.JTDBackuper
All Implemented Interfaces:
Backuper, Exporter

public class JTDBackuper
extends java.lang.Object
implements Backuper

A Backuper for the JTD format.

Author:
Baptiste Wicht

Constructor Summary
JTDBackuper()
           
 
Method Summary
 void backup(java.io.File file, java.util.List<BackupWriter> writers)
          Cette méthode permet d'exporter les films vers un certain fichier.
 boolean canExportTo(FileType fileType)
          Indicate if the exporter can export to a specific fileType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTDBackuper

public JTDBackuper()
Method Detail

backup

public final void backup(java.io.File file,
                         java.util.List<BackupWriter> writers)
                  throws org.jtheque.utils.io.FileException
Description copied from interface: Backuper
Cette méthode permet d'exporter les films vers un certain fichier.

Specified by:
backup in interface Backuper
Parameters:
file - The file.
writers - The writers to use.
Throws:
org.jtheque.utils.io.FileException - When an error occurs during the backup process.

canExportTo

public final boolean canExportTo(FileType fileType)
Description copied from interface: Exporter
Indicate if the exporter can export to a specific fileType.

Specified by:
canExportTo in interface Exporter
Parameters:
fileType - The fileType to export to.
Returns:
true if the exporter can export to this file type, else false.


Copyright © 2009 JTheque. All Rights Reserved.