|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.ddmlib.log.EventValueDescription
public final class EventValueDescription
Describes an EventContainer
value.
EventContainer.EventValueType
), and (if needed) value unit (EventValueDescription.ValueType
).
The index of the value is not contained within this class, and is instead dependent on the
index of this particular object in the array of EventValueDescription
returned by
EventLogParser.getEventInfoMap()
when queried for a particular event tag.
Nested Class Summary | |
---|---|
static class |
EventValueDescription.ValueType
Represents the type of a numerical value. |
Method Summary | |
---|---|
boolean |
checkForType(java.lang.Object value)
Checks if the value is of the proper type for this receiver. |
EventContainer.EventValueType |
getEventValueType()
|
java.lang.String |
getName()
|
java.lang.Object |
getObjectFromString(java.lang.String value)
Returns an object of a valid type (based on the value returned by getEventValueType() ) from a String value. |
EventValueDescription.ValueType |
getValueType()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
public EventContainer.EventValueType getEventValueType()
EventContainer.EventValueType
.public EventValueDescription.ValueType getValueType()
EventValueDescription.ValueType
.public java.lang.String toString()
toString
in class java.lang.Object
public boolean checkForType(java.lang.Object value)
value
- the value to check.
public java.lang.Object getObjectFromString(java.lang.String value)
getEventValueType()
) from a String value.
IMPORTANT EventContainer.EventValueType.LIST
and EventContainer.EventValueType.TREE
are not
supported.
value
- the value of the object expressed as a string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |