@BetaApi public class UntypedResourceName extends Object implements ResourceName
ResourceName with an unknown format. This class in intended to
support the case of a resource name string in an unexpected format - generated resource name
classes with known formats should be preferred where possible.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static UntypedResourceName |
from(ResourceName resourceName) |
ResourceNameType |
getType()
The ResourceNameType of the resource name object.
|
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static UntypedResourceName |
parse(String formattedString) |
String |
toString() |
public static UntypedResourceName from(ResourceName resourceName)
public static UntypedResourceName parse(String formattedString)
public static boolean isParsableFrom(String formattedString)
public ResourceNameType getType()
ResourceNamegetType in interface ResourceName