TestRecordProtoUtil

public class TestRecordProtoUtil
extends Object

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


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

Özet

Herkese açık oluşturucular

TestRecordProtoUtil()

Herkese açık yöntemler

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

Bir dosyadan TestRecord okuyup döndür.

static TestRecordProto.TestRecord readFromFile(File protoFile)

Bir dosyadan TestRecord okuyup döndürür.

Herkese açık oluşturucular

TestRecordProtoUtil

public TestRecordProtoUtil ()

Herkese açık yöntemler

readFromFile

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

Bir dosyadan TestRecord okuyup döndür.

Parametreler
protoFile File: Kaydı içeren File

readDelimited boolean: Sınırlandırılmış biçimdeki proto dosyası doğruysa. Dosya varsayılan biçimdeyse yanlış.

İadeler
TestRecordProto.TestRecord

Verdiği hatalar
InvalidProtocolBufferException
IOException

readFromFile

public static TestRecordProto.TestRecord readFromFile (File protoFile)

Bir dosyadan TestRecord okuyup döndür.

Parametreler
protoFile File: Kaydı içeren File

İadeler
TestRecordProto.TestRecord Dosyadan oluşturulan TestRecord

Verdiği hatalar
InvalidProtocolBufferException
IOException