Package org.robolectric.res
Class ResName
java.lang.Object
org.robolectric.res.ResName
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
static ResName
qualifyFromFilePath
(String packageName, String filePath) static String
qualifyResName
(String possiblyQualifiedResourceName, String contextPackageName) static ResName
qualifyResName
(String possiblyQualifiedResourceName, String defaultPackageName, String defaultType) static ResName
qualifyResName
(String possiblyQualifiedResourceName, ResName defaults) static String
qualifyResourceName
(String possiblyQualifiedResourceName, String defaultPackageName, String defaultType) Returns the fully qualified resource name if null if the resource could not be qualified.toString()
withPackageName
(String packageName)
-
Field Details
-
ID_TYPE
- See Also:
-
packageName
-
type
-
name
-
hashCode
public final int hashCode
-
-
Constructor Details
-
ResName
-
ResName
-
-
Method Details
-
qualifyResourceName
public static String qualifyResourceName(@Nonnull String possiblyQualifiedResourceName, String defaultPackageName, String defaultType) Returns the fully qualified resource name if null if the resource could not be qualified. -
qualifyResName
-
qualifyResName
-
qualifyResName
-
qualifyFromFilePath
-
equals
-
hashCode
public int hashCode() -
toString
-
getFullyQualifiedName
-
getNamespaceUri
-
withPackageName
-
mustBe
-