Package org.robolectric.res
Interface ResourceTable
-
- All Known Implementing Classes:
PackageResourceTable
,RoutingResourceTable
public interface ResourceTable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ResourceTable.Visitor
-
Method Summary
All Methods Instance Methods Abstract Methods 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)
-
-
-
Method Detail
-
getResName
ResName getResName(int resourceId)
-
getValue
TypedResource getValue(int resId, ResTable_config config)
-
getValue
TypedResource getValue(@Nonnull ResName resName, ResTable_config config)
-
getXml
XmlBlock getXml(ResName resName, ResTable_config config)
-
getRawValue
InputStream getRawValue(ResName resName, ResTable_config config)
-
getRawValue
InputStream getRawValue(int resId, ResTable_config config)
-
receive
void receive(ResourceTable.Visitor visitor)
-
getPackageName
String getPackageName()
-
-