ResourceType
Overview
ResourceType is an enum in Aspose.Words FOSS for Java.
Type of loaded resource.
Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.
This enum declares 4 methods for ResourceType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
IMAGE | Image. |
FONT | Font. |
CSS_STYLE_SHEET | CSS style sheet. |
DOCUMENT | Document. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ResourceType values. |
Methods
| Signature | Description |
|---|---|
getName(resourceType: int) → String | Returns JAVA_STYLE string representation of integer ResourceType value. |
toString(resourceType: int) → String | Returns DotNetStyle string representation of integer ResourceType value. |
fromName(resourceTypeName: String) → int | Returns integer representation by ResourceType name. |
getValues() → int[] | Returns array of ResourceType values. |