Package org.robolectric.manifest
Class MetaData
- java.lang.Object
-
- org.robolectric.manifest.MetaData
-
public final class MetaData extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MetaData(java.util.List<org.w3c.dom.Node> nodes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intgetColor(java.lang.String value)Returns the color value represented by the given string valuejava.util.Map<java.lang.String,java.lang.Object>getValueMap()voidinit(ResourceTable resourceTable, java.lang.String packageName)
-
-
-
Method Detail
-
init
public void init(ResourceTable resourceTable, java.lang.String packageName) throws RoboNotFoundException
- Throws:
RoboNotFoundException
-
getValueMap
public java.util.Map<java.lang.String,java.lang.Object> getValueMap()
-
getColor
public static int getColor(java.lang.String value)
Returns the color value represented by the given string value- Parameters:
value- the color value- Returns:
- the color as an int
- Throws:
java.lang.NumberFormatException- if the conversion failed.
-
-