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