PendingBlock

public class PendingBlock
extends Object

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


기기에 필요한 APK 또는 서명 파일에 속하는 데이터 블록입니다.

요약

공개 생성자

PendingBlock(PendingBlock block)

공개 메서드

int getBlockIndex()

파일에 있는 데이터 블록의 색인입니다.

short getBlockSize()

블록 데이터의 크기(바이트)입니다.

PendingBlock.Compression getCompression()
int getFileBlockCount()

블록이 있는 파일의 블록 수입니다.

Path getPath()

블록이 있는 파일의 경로입니다.

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

현재 위치의 블록 데이터를 버퍼로 읽어옵니다.

String toString()

공개 생성자

PendingBlock

public PendingBlock (PendingBlock block)

매개변수
block PendingBlock

공개 메서드

getBlockIndex

public int getBlockIndex ()

파일에 있는 데이터 블록의 색인입니다.

반환 값
int

getBlockSize

public short getBlockSize ()

블록 데이터의 크기(바이트)입니다.

반환 값
short

getCompression

public PendingBlock.Compression getCompression ()

반환 값
PendingBlock.Compression

getFileBlockCount

public int getFileBlockCount ()

블록이 있는 파일의 블록 수입니다.

반환 값
int

getPath

public Path getPath ()

블록이 있는 파일의 경로입니다.

반환 값
Path

getType

public PendingBlock.Type getType ()

반환 값
PendingBlock.Type

readBlockData

public void readBlockData (ByteBuffer buffer)

현재 위치의 블록 데이터를 버퍼로 읽어옵니다.

매개변수
buffer ByteBuffer

toString

public String toString ()

반환 값
String