Package org.robolectric.res
Class TypedResource<T>
- java.lang.Object
-
- org.robolectric.res.TypedResource<T>
-
- Direct Known Subclasses:
FileTypedResource
,PluralRules
public class TypedResource<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description TypedResource(T data, ResType resType, XmlContext xmlContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asString()
ResTable_config
getConfig()
T
getData()
ResType
getResType()
XmlContext
getXmlContext()
boolean
isFile()
boolean
isReference()
boolean
isXml()
String
toString()
-
-
-
Constructor Detail
-
TypedResource
public TypedResource(T data, ResType resType, XmlContext xmlContext)
-
-
Method Detail
-
getData
public T getData()
-
getResType
public ResType getResType()
-
getConfig
public ResTable_config getConfig()
-
getXmlContext
public XmlContext getXmlContext()
-
asString
public String asString()
-
isFile
public boolean isFile()
-
isReference
public boolean isReference()
-
isXml
public boolean isXml()
-
-