|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.managers.file.impl.JTDRestorer
public class JTDRestorer
A Restorer for the JTD format.
Constructor Summary | |
---|---|
JTDRestorer()
|
Method Summary | |
---|---|
boolean |
canImportFrom(FileType fileType)
Indicate if the importer can import from a specific file format or not. |
void |
restore(java.io.File file,
java.util.List<BackupReader> readers)
Import all the data from the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTDRestorer()
Method Detail |
---|
public final void restore(java.io.File file, java.util.List<BackupReader> readers) throws org.jtheque.utils.io.FileException
Restorer
restore
in interface Restorer
file
- The file.readers
- The readers to use to restore.
org.jtheque.utils.io.FileException
- When an error occurs during the restore process.public final boolean canImportFrom(FileType fileType)
Importer
canImportFrom
in interface Importer
fileType
- The file format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |