Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam.
Lihat caranya.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
TestRecordProtoUtil
public class TestRecordProtoUtil
extends Object
java.lang.Objek |
↳ | com.android.tradefed.util.proto.TestRecordProtoUtil |
Utilitas untuk membaca proto TestRecord
dari file.
Ringkasan
Metode publik |
---|
static TestRecordProto.TestRecord | readFromFile (File protoFile) Baca TestRecord dari file dan kembalikan. |
static TestRecordProto.TestRecord | readFromFile (File protoFile, boolean readDelimited) Baca TestRecord dari file dan kembalikan. |
Konstruktor publik
TestRecordProtoUtil
public TestRecordProtoUtil ()
Metode publik
bacaDariFile
public static TestRecordProto.TestRecord readFromFile (File protoFile)
Baca TestRecord
dari file dan kembalikan.
Kembali |
---|
TestRecordProto.TestRecord | TestRecord dibuat dari file. |
Melempar |
---|
| InvalidProtocolBufferException |
bacaDariFile
public static TestRecordProto.TestRecord readFromFile (File protoFile,
boolean readDelimited)
Baca TestRecord
dari file dan kembalikan.
Parameter |
---|
protoFile | File : ERROR(/File) yang berisi catatan |
readDelimited | boolean : Benar jika file proto dalam format yang dibatasi. Salah jika file berformat default. |
Kembali |
---|
TestRecordProto.TestRecord | |
Melempar |
---|
| InvalidProtocolBufferException |
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Informasi yang saya butuhkan tidak ada"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Terlalu rumit/langkahnya terlalu banyak"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Sudah usang"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Masalah terjemahan"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Masalah kode / contoh"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Lainnya"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Mudah dipahami"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Memecahkan masalah saya"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Lainnya"
}]
{
"last_modified": "Terakhir diperbarui pada 2023-12-01 UTC.",
"state": ""
}