Package org.robolectric.res
Class RoutingResourceTable
java.lang.Object
org.robolectric.res.RoutingResourceTable
- All Implemented Interfaces:
ResourceTable
public class RoutingResourceTable extends Object implements ResourceTable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.robolectric.res.ResourceTable
ResourceTable.Visitor
-
Constructor Summary
Constructors Constructor Description RoutingResourceTable(PackageResourceTable... resourceTables)
-
Method Summary
Modifier and Type Method Description String
getPackageName()
InputStream
getRawValue(int resId, ResTable_config config)
InputStream
getRawValue(ResName resName, ResTable_config config)
ResName
getResName(int resourceId)
Integer
getResourceId(ResName resName)
TypedResource
getValue(int resId, ResTable_config config)
TypedResource
getValue(ResName resName, ResTable_config config)
XmlBlock
getXml(ResName resName, ResTable_config config)
void
receive(ResourceTable.Visitor visitor)
String
toString()
-
Constructor Details
-
Method Details
-
getRawValue
- Specified by:
getRawValue
in interfaceResourceTable
-
getValue
- Specified by:
getValue
in interfaceResourceTable
-
getValue
- Specified by:
getValue
in interfaceResourceTable
-
getXml
- Specified by:
getXml
in interfaceResourceTable
-
getRawValue
- Specified by:
getRawValue
in interfaceResourceTable
-
getResourceId
- Specified by:
getResourceId
in interfaceResourceTable
-
getResName
- Specified by:
getResName
in interfaceResourceTable
-
receive
- Specified by:
receive
in interfaceResourceTable
-
getPackageName
- Specified by:
getPackageName
in interfaceResourceTable
-
toString
-