TombstoneParser

public class TombstoneParser
extends Object

java.lang.Object
   ↳ com.android.sts.common.util.TombstoneParser


剖析空白檔案,以及從空白檔案或 Logcat 中剖析空白檔案。

摘要

公用建構函式

TombstoneParser()

公用方法

static final List<TombstoneProtos.Tombstone> parseLogcat(String logcat)

剖析 logcat 程式碼片段,並建構墓碑清單

static long parsePointer(String pointerString)
static boolean parseTombstone(String tombstoneBlob, TombstoneProtos.Tombstone.Builder tombstoneBuilder)

公用建構函式

TombstoneParser

public TombstoneParser ()

公用方法

parseLogcat

public static final List<TombstoneProtos.Tombstone> parseLogcat (String logcat)

剖析 Logcat 片段,並建立墓碑清單

參數
logcat String

傳回
List<TombstoneProtos.Tombstone>

parsePointer

public static long parsePointer (String pointerString)

參數
pointerString String

傳回
long

parseTombstone

public static boolean parseTombstone (String tombstoneBlob, 
                TombstoneProtos.Tombstone.Builder tombstoneBuilder)

參數
tombstoneBlob String

tombstoneBuilder TombstoneProtos.Tombstone.Builder

傳回
boolean