KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > config > backup > pluggable > BackupStorage


1 /*
2  * BackupStorage.java
3  *
4  * Created on December 21, 2003, 6:37 PM
5  */

6
7 package com.sun.enterprise.config.backup.pluggable;
8
9 import java.io.IOException JavaDoc;
10 import com.sun.enterprise.config.backup.BackupException;
11 import com.sun.enterprise.config.backup.status.Status;
12 import java.io.File JavaDoc;
13 /**
14  *
15  * @author sridatta
16  */

17 public interface BackupStorage {
18     long backup(String JavaDoc[] srcDirs, String JavaDoc dest) throws BackupException;
19     
20     void createStatusFile(String JavaDoc dest, Status status);
21     long restore(File JavaDoc file) throws BackupException ;
22     public void deleteTarget();
23 }
24
Popular Tags