PendingBlock

public class PendingBlock
extends Object

java.lang.Object
   ↳ com.android.incfs.install.PendingBlock


Bloc de données appartenant au fichier APK ou de signature dont l'appareil a besoin.

Résumé

Constructeurs publics

PendingBlock(PendingBlock block)

Méthodes publiques

int getBlockIndex()

Index du bloc de données dans le fichier.

short getBlockSize()

Taille des données de bloc en octets.

PendingBlock.Compression getCompression()
int getFileBlockCount()

Nombre de blocs dans le fichier dans lequel se trouve le bloc.

Path getPath()

Chemin d'accès au fichier dans lequel réside le bloc.

PendingBlock.Type getType()
void readBlockData(ByteBuffer buffer)

Lit les données de bloc dans le tampon à la position actuelle.

String toString()

Constructeurs publics

PendingBlock

public PendingBlock (PendingBlock block)

Paramètres
block PendingBlock

Méthodes publiques

getBlockIndex

public int getBlockIndex ()

Index du bloc de données dans le fichier.

Renvoie
int

getBlockSize

public short getBlockSize ()

Taille des données de bloc en octets.

Renvoie
short

getCompression

public PendingBlock.Compression getCompression ()

Renvoie
PendingBlock.Compression

Voir aussi :

getFileBlockCount

public int getFileBlockCount ()

Nombre de blocs dans le fichier dans lequel se trouve le bloc.

Renvoie
int

getPath

public Path getPath ()

Chemin d'accès au fichier dans lequel réside le bloc.

Renvoie
Path

getType

public PendingBlock.Type getType ()

Renvoie
PendingBlock.Type

Voir aussi :

readBlockData

public void readBlockData (ByteBuffer buffer)

Lit les données de bloc dans le tampon à la position actuelle.

Paramètres
buffer ByteBuffer

toString

public String toString ()

Renvoie
String