|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.ide.common.res2.ValueResourceNameValidator
public final class ValueResourceNameValidator
| Method Summary | |
|---|---|
static java.lang.String |
getErrorText(java.lang.String fullResourceName,
com.android.resources.ResourceType resourceType)
Validate a value resource name. |
static void |
validate(java.lang.String resourceName,
com.android.resources.ResourceType resourceType,
java.io.File file)
Validate a value resource name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void validate(@NonNull
java.lang.String resourceName,
@NonNull
com.android.resources.ResourceType resourceType,
@Nullable
java.io.File file)
throws MergingException
resourceName - the resource name to validate.resourceType - the resource type.file - the file the resource came from.
MergingException - is the resource name is not valid.
@Nullable
public static java.lang.String getErrorText(@NonNull
java.lang.String fullResourceName,
@Nullable
com.android.resources.ResourceType resourceType)
fullResourceName - the resource name to validate.resourceType - the resource type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||