|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.ddmlib.log.EventLogParser
public final class EventLogParser
Parser for the "event" log.
| Constructor Summary | |
|---|---|
EventLogParser()
|
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.Integer,EventValueDescription[]> |
getEventInfoMap()
|
java.util.Map<java.lang.Integer,java.lang.String> |
getTagMap()
|
boolean |
init(IDevice device)
Inits the parser for a specific Device. |
boolean |
init(java.lang.String filePath)
Inits the parser with a specified event-log-tags file. |
boolean |
init(java.lang.String[] tagFileContent)
Inits the parser with the content of a tag file. |
EventContainer |
parse(LogReceiver.LogEntry entry)
|
EventContainer |
parse(java.lang.String textLogLine)
|
void |
saveTags(java.lang.String filePath)
Recreates the event-log-tags at the specified file path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventLogParser()
| Method Detail |
|---|
public boolean init(IDevice device)
device - The device.
true if success, false if failure or cancellation.public boolean init(java.lang.String[] tagFileContent)
tagFileContent - the lines of a tag file.
true if success, false if failure.public boolean init(java.lang.String filePath)
filePath -
true if success, false if failure.public EventContainer parse(LogReceiver.LogEntry entry)
public EventContainer parse(java.lang.String textLogLine)
public java.util.Map<java.lang.Integer,java.lang.String> getTagMap()
public java.util.Map<java.lang.Integer,EventValueDescription[]> getEventInfoMap()
public void saveTags(java.lang.String filePath)
throws java.io.IOException
filePath - the file path to write the file.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||