Package org.robolectric.shadows
Class Converter<T>
- java.lang.Object
-
- org.robolectric.shadows.Converter<T>
-
- Direct Known Subclasses:
Converter.FromArray
,Converter.FromAttrData
,Converter.FromCharSequence
,Converter.FromColor
,Converter.FromFilePath
public class Converter<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Converter.FromArray
static class
Converter.FromAttrData
static class
Converter.FromCharSequence
static class
Converter.FromColor
static class
Converter.FromFilePath
-
Constructor Summary
Constructors Constructor Description Converter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CharSequence
asCharSequence(TypedResource typedResource)
int
asInt(TypedResource typedResource)
boolean
fillTypedValue(T data, TypedValue typedValue)
static Converter
getConverter(ResType resType)
List<TypedResource>
getItems(TypedResource typedResource)
-
-
-
Method Detail
-
asCharSequence
public CharSequence asCharSequence(TypedResource typedResource)
-
asInt
public int asInt(TypedResource typedResource)
-
getItems
public List<TypedResource> getItems(TypedResource typedResource)
-
fillTypedValue
public boolean fillTypedValue(T data, TypedValue typedValue)
-
-