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

ValueDescription
IMAGEImage.
FONTFont.
CSS_STYLE_SHEETCSS style sheet.
DOCUMENTDocument.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of ResourceType values.

Methods

SignatureDescription
getName(resourceType: int) → StringReturns JAVA_STYLE string representation of integer ResourceType value.
toString(resourceType: int) → StringReturns DotNetStyle string representation of integer ResourceType value.
fromName(resourceTypeName: String) → intReturns integer representation by ResourceType name.
getValues() → int[]Returns array of ResourceType values.

See Also