| com.microsoft.intune.mam.client.app.backup.MAMBackupDataInput |
MAM representation of a BackupDataInput. This must be used in place of BackupDataInput and provides all the same methods.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract BackupDataInput |
asBackupDataInput()
Return the underlying BackupDataInput.
| ||||||||||
| abstract int |
getDataSize()
See
getDataSize(). | ||||||||||
| abstract String |
getKey()
See
getKey(). | ||||||||||
| abstract int | readEntityData(byte[] data, int offset, int size) | ||||||||||
| abstract boolean |
readNextHeader()
See
readNextHeader(). | ||||||||||
| abstract void |
skipEntityData()
See
skipEntityData(). | ||||||||||
Return the underlying BackupDataInput.
See getDataSize().
Report the size in bytes of data associated with the current entity in the restore stream from the
underlying DataBackupInput.
See getKey().
Reports the key associated with the current entity in the restore stream from the underlying DataBackupInput.
See readEntityData(byte[], int, int).
Reads a record's raw data from the restore stream.
| data | Raw data from the restore stream. |
|---|---|
| offset | Offset within the data array at which the data will be placed. |
| size | The number of bytes to read. |
| IOException | Thrown when an error occurs reading the restore data stream. |
|---|
See readNextHeader().
Advances the file reader to the next backup entity to read. We intercept here and transparently handle restoring MAM
Identities backed up.
| IOException | If there are IOExceptions |
|---|
See skipEntityData().
Consume the current entity's data without extracting it into a buffer.
| IOException | Thrown when an error occurs reading the restore data stream. |
|---|