public abstract class ResourceWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected EntryType |
entryType |
protected String |
name |
protected int |
resourceType |
| Constructor and Description |
|---|
ResourceWrapper(String name,
EntryType entryType,
int resourceType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Only
getName() is considered. |
EntryType |
getEntryType()
Get
EntryType of this wrapper. |
String |
getName()
Get the resource name.
|
int |
getResourceType()
Get the classification of this resource.
|
abstract String |
getShowName()
Get the beautified resource name to be showed.
|
int |
hashCode()
Only
getName() is considered. |
protected final String name
protected final EntryType entryType
protected final int resourceType
public String getName()
public EntryType getEntryType()
EntryType of this wrapper.EntryType of this wrapper.public int getResourceType()
public abstract String getShowName()
Copyright © 2019 Alibaba Group. All rights reserved.