TestRecordProtoUtil

public class TestRecordProtoUtil
extends Object

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


Bir dosyadan TestRecord proto'sunu okumak için kullanılan yardımcı program.

Özet

Herkese açık kurucular

TestRecordProtoUtil()

Herkese açık yöntemler

static TestRecordProto.TestRecord readFromFile(File protoFile)

Bir dosyadan TestRecord değerini okuyup döndürme

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

Bir dosyadan TestRecord değerini okuyup döndürme

Herkese açık kurucular

TestRecordProtoUtil

public TestRecordProtoUtil ()

Herkese açık yöntemler

readFromFile

public static TestRecordProto.TestRecord readFromFile (File protoFile)

Bir dosyadan TestRecord değerini okuyup döndürme

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

İlerlemeler
TestRecordProto.TestRecord Dosyadan oluşturulan bir TestRecord.

Atışlar
InvalidProtocolBufferException

readFromFile

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

Bir dosyadan TestRecord değerini okuyup döndürme

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

readDelimited boolean: Proto dosyası ayrılmış biçimdeyse doğru değerini döndürür. Dosya varsayılan biçimdeyse yanlış değerini alır.

İlerlemeler
TestRecordProto.TestRecord

Atışlar
InvalidProtocolBufferException