TestRecordProtoUtil

public class TestRecordProtoUtil
extends Object

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


أداة لقراءة ملف TestRecord proto من ملف

ملخّص

وظائف الإنشاء العامة

TestRecordProtoUtil()

الطرق العامة

static TestRecordProto.TestRecord readFromFile(File protoFile)

قراءة TestRecord من ملف وإعادته

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

قراءة TestRecord من ملف وإعادته

وظائف الإنشاء العامة

TestRecordProtoUtil

public TestRecordProtoUtil ()

الطرق العامة

readFromFile

public static TestRecordProto.TestRecord readFromFile (File protoFile)

قراءة TestRecord من ملف وإعادته

المعلمات
protoFile File: ERROR(/File) الذي يحتوي على السجلّ

المرتجعات
TestRecordProto.TestRecord TestRecord تم إنشاؤه من الملف

عمليات الرمي
InvalidProtocolBufferException

readFromFile

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

قراءة TestRecord من ملف وإعادته

المعلمات
protoFile File: ERROR(/File) الذي يحتوي على السجلّ

readDelimited boolean: صحيح إذا كان ملف proto بتنسيق محدّد. خطأ إذا كان الملف بالتنسيق التلقائي.

المرتجعات
TestRecordProto.TestRecord

عمليات الرمي
InvalidProtocolBufferException