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