@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)
Deprecated.
use
of(ResourceName) instead. |
ResourceNameType |
getType()
Deprecated.
|
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static UntypedResourceName |
of(ResourceName resourceName) |
static UntypedResourceName |
parse(String formattedString) |
String |
toString() |
@Deprecated public static UntypedResourceName from(ResourceName resourceName)
of(ResourceName) instead.public static UntypedResourceName of(ResourceName resourceName)
public static UntypedResourceName parse(String formattedString)
public static boolean isParsableFrom(String formattedString)
@Deprecated public ResourceNameType getType()
ResourceNamegetType in interface ResourceName