ResourceTable
public class RoutingResourceTable extends Object implements ResourceTable
ResourceTable.Visitor
Constructor | Description |
---|---|
RoutingResourceTable(PackageResourceTable... resourceTables) |
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() |
public RoutingResourceTable(PackageResourceTable... resourceTables)
public InputStream getRawValue(int resId, ResTable_config config)
getRawValue
in interface ResourceTable
public TypedResource getValue(@Nonnull ResName resName, ResTable_config config)
getValue
in interface ResourceTable
public TypedResource getValue(int resId, ResTable_config config)
getValue
in interface ResourceTable
public XmlBlock getXml(ResName resName, ResTable_config config)
getXml
in interface ResourceTable
public InputStream getRawValue(ResName resName, ResTable_config config)
getRawValue
in interface ResourceTable
public Integer getResourceId(ResName resName)
getResourceId
in interface ResourceTable
public ResName getResName(int resourceId)
getResName
in interface ResourceTable
public void receive(ResourceTable.Visitor visitor)
receive
in interface ResourceTable
public String getPackageName()
getPackageName
in interface ResourceTable