Christopher Tate | 79ec80d | 2011-06-24 14:58:49 -0700 | [diff] [blame] | 1 | package android.app.backup; |
| 2 | |
| 3 | import android.os.ParcelFileDescriptor; |
| 4 | |
| 5 | /** |
| 6 | * Provides the interface through which a {@link BackupAgent} writes entire files |
| 7 | * to a full backup data set, via its {@link BackupAgent#onFullBackup(FullBackupDataOutput)} |
| 8 | * method. |
| 9 | */ |
| 10 | public class FullBackupDataOutput { |
| 11 | // Currently a name-scoping shim around BackupDataOutput |
| 12 | private BackupDataOutput mData; |
| 13 | |
| 14 | /** @hide */ |
| 15 | public FullBackupDataOutput(ParcelFileDescriptor fd) { |
| 16 | mData = new BackupDataOutput(fd.getFileDescriptor()); |
| 17 | } |
| 18 | |
| 19 | /** @hide */ |
| 20 | public BackupDataOutput getData() { return mData; } |
| 21 | } |