UnknownResource
Overview
UnknownResource is a class in Aspose.PSD FOSS for Java.
Represents a parsed PSD image resource block without any ID-specific semantics.
This class declares 6 methods for UnknownResource objects in Java programs.
Available methods include: UnknownResource, getData, getName, getResourceId, load, toPublicInfo.
Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package.
Properties: data, name, resourceId.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
resourceId | short | Read | Gets the PSD resource identifier. |
name | String | Read | Gets the decoded Pascal resource name. |
data | byte[] | Read | Gets the raw resource payload bytes. |
Methods
| Signature | Description |
|---|---|
UnknownResource(resourceId: short, name: String, data: byte[]) | Initializes a new instance of the UnknownResource class. |
getResourceId() → short | Gets the PSD resource identifier. |
getName() → String | Gets the decoded Pascal resource name. |
getData() → byte[] | Gets the raw resource payload bytes. |
load(reader: BigEndianReader, sectionEnd: long) → UnknownResource | Loads one resource block from the reader, validating its envelope within the section. |
toPublicInfo() → PsdResourceInfo | Creates a public read-only summary for this resource block. |