TestRecordProtoUtil

public class TestRecordProtoUtil
extends Object

java.lang.Objek
com.android.tradefed.util.proto.TestRecordProtoUtil


Utilitas untuk membaca proto TestRecord dari file.

Ringkasan

Konstruktor publik

TestRecordProtoUtil ()

Metode publik

static TestRecordProto.TestRecord readFromFile (File protoFile)

Baca TestRecord dari file dan kembalikan.

static TestRecordProto.TestRecord readFromFile (File protoFile, boolean readDelimited)

Baca TestRecord dari file dan kembalikan.

Konstruktor publik

TestRecordProtoUtil

public TestRecordProtoUtil ()

Metode publik

bacaDariFile

public static TestRecordProto.TestRecord readFromFile (File protoFile)

Baca TestRecord dari file dan kembalikan.

Parameter
protoFile File : ERROR(/File) yang berisi catatan

Kembali
TestRecordProto.TestRecord TestRecord dibuat dari file.

Melempar
InvalidProtocolBufferException

bacaDariFile

public static TestRecordProto.TestRecord readFromFile (File protoFile, 
                boolean readDelimited)

Baca TestRecord dari file dan kembalikan.

Parameter
protoFile File : ERROR(/File) yang berisi catatan

readDelimited boolean : Benar jika file proto dalam format yang dibatasi. Salah jika file berformat default.

Kembali
TestRecordProto.TestRecord

Melempar
InvalidProtocolBufferException