TestKayıtProtoUtil
public class TestRecordProtoUtil
extends Object
java.lang.Nesne |
↳ | com.android.tradefed.util.proto.TestRecordProtoUtil |
Bir dosyadan TestRecord
protokolünü okumak için yardımcı program.
Özet
Genel yöntemler |
---|
static TestRecordProto.TestRecord | readFromFile (File protoFile) Bir dosyadan TestRecord okuyun ve geri gönderin. |
static TestRecordProto.TestRecord | readFromFile (File protoFile, boolean readDelimited) Bir dosyadan TestRecord okuyun ve geri gönderin. |
Kamu inşaatçıları
TestKayıtProtoUtil
public TestRecordProtoUtil ()
Genel yöntemler
Dosyadan oku
public static TestRecordProto.TestRecord readFromFile (File protoFile)
Bir dosyadan TestRecord
okuyun ve geri gönderin.
İadeler |
---|
TestRecordProto.TestRecord | dosyadan oluşturulan bir TestRecord . |
atar |
---|
| InvalidProtocolBufferException |
Dosyadan oku
public static TestRecordProto.TestRecord readFromFile (File protoFile,
boolean readDelimited)
Bir dosyadan TestRecord
okuyun ve geri gönderin.
parametreler |
---|
protoFile | File : Kaydı içeren ERROR(/File) |
readDelimited | boolean : Proto dosyası sınırlandırılmış biçimdeyse doğrudur. Dosya varsayılan biçimdeyse False. |
İadeler |
---|
TestRecordProto.TestRecord | |
atar |
---|
| InvalidProtocolBufferException |