TestRecordProtoUtil

public class TestRecordProtoUtil
extends Object

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


Bir dosyadan TestRecord protokolünü okumak için yardımcı program.

Özet

Kamu inşaatçıları

TestRecordProtoUtil ()

Genel yöntemler

static TestRecordProto.TestRecord readFromFile (File protoFile)

TestRecord bir dosyadan okuyun ve geri gönderin.

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

TestRecord bir dosyadan okuyun ve geri gönderin.

Kamu inşaatçıları

TestRecordProtoUtil

public TestRecordProtoUtil ()

Genel yöntemler

Dosyadan Oku

public static TestRecordProto.TestRecord readFromFile (File protoFile)

TestRecord bir dosyadan okuyun ve geri gönderin.

Parametreler
protoFile File : Kaydı içeren ERROR(/File)

İadeler
TestRecordProto.TestRecord dosyadan oluşturulan bir TestRecord .

Atar
Geçersiz ProtokolBufferException

Dosyadan Oku

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

TestRecord bir dosyadan okuyun ve geri gönderin.

Parametreler
protoFile File : Kaydı içeren ERROR(/File)

readDelimited boolean : Protokol dosyası ayrılmış biçimdeyse doğrudur. Dosya varsayılan formattaysa false.

İadeler
TestRecordProto.TestRecord

Atar
Geçersiz ProtokolBufferException