For example, you can read resources from the input stream, obtain resources
of different types, and obtain RawFileEntry and
ConfigManager instances of a given
ResourceManager.
| 类 | 说明 |
|---|---|
| BaseFileDescriptor |
Provides the file descriptor data, and reads the data start position and the file length.
|
| Element |
Provides methods for obtaining an
Element based on its resource ID. |
| Entry |
Describes an entry in the rawfile directory.
|
| RawFileDescriptor |
Provides the file descriptor of a raw file from
RawFileEntry. |
| RawFileEntry |
Manages the raw file in the application package.
|
| Resource |
Describes an input stream from which resource data can be read.
|
| ResourceManager |
Manages all resources in the resources directory of the application package.
|
| 枚举 | 说明 |
|---|---|
| Entry.Type |
Indicates the entry type.
|
| ResourceType |
Indicates the type of a resource.
|
| 异常错误 | 说明 |
|---|---|
| AccessDeniedException |
Describes the exception thrown if any access is denied.
|
| LocaleFallBackException |
Exception will be throw when find the fallback path from locales.
|
| NotExistException |
Describes the exception thrown if the target object does not exist.
|
| StateColorTypeException |
Describes the exception thrown if the target object is a state color.
|
| WrongTypeException |
Describes the exception thrown if an incorrect type is used.
|