PendingBlock
public
class
PendingBlock
extends Object
| java.lang.Object | |
| ↳ | com.android.incfs.install.PendingBlock |
APK'ya veya imza dosyasına ait, cihazın ihtiyaç duyduğu bir veri bloğu.
Özet
Herkese açık oluşturucular | |
|---|---|
PendingBlock(PendingBlock block)
|
|
Herkese açık yöntemler | |
|---|---|
int
|
getBlockIndex()
Dosyadaki veri bloğunun dizini. |
short
|
getBlockSize()
Blok verilerinin bayt cinsinden boyutu. |
PendingBlock.Compression
|
getCompression()
|
int
|
getFileBlockCount()
Bloğun bulunduğu dosyadaki blok sayısı. |
Path
|
getPath()
Bloğun bulunduğu dosyanın yolu. |
PendingBlock.Type
|
getType()
|
void
|
readBlockData(ByteBuffer buffer)
Blok verilerini mevcut konumdaki arabelleğe okur. |
String
|
toString()
|
Herkese açık oluşturucular
Herkese açık yöntemler
getBlockIndex
public int getBlockIndex ()
Dosyadaki veri bloğunun dizini.
| İlerlemeler | |
|---|---|
int |
|
getBlockSize
public short getBlockSize ()
Blok verilerinin bayt cinsinden boyutu.
| İlerlemeler | |
|---|---|
short |
|
getCompression
public PendingBlock.Compression getCompression ()
| İlerlemeler | |
|---|---|
PendingBlock.Compression |
|
Ayrıca:
getFileBlockCount
public int getFileBlockCount ()
Bloğun bulunduğu dosyadaki blok sayısı.
| İlerlemeler | |
|---|---|
int |
|
getPath
public Path getPath ()
Bloğun bulunduğu dosyanın yolu.
| İlerlemeler | |
|---|---|
Path |
|
readBlockData
public void readBlockData (ByteBuffer buffer)
Blok verilerini mevcut konumdaki arabelleğe okur.
| Parametreler | |
|---|---|
buffer |
ByteBuffer |
toString
public String toString ()
| İlerlemeler | |
|---|---|
String |
|