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

NameTypeAccessDescription
resourceIdshortReadGets the PSD resource identifier.
nameStringReadGets the decoded Pascal resource name.
databyte[]ReadGets the raw resource payload bytes.

Methods

SignatureDescription
UnknownResource(resourceId: short, name: String, data: byte[])Initializes a new instance of the UnknownResource class.
getResourceId() → shortGets the PSD resource identifier.
getName() → StringGets the decoded Pascal resource name.
getData() → byte[]Gets the raw resource payload bytes.
load(reader: BigEndianReader, sectionEnd: long) → UnknownResourceLoads one resource block from the reader, validating its envelope within the section.
toPublicInfo() → PsdResourceInfoCreates a public read-only summary for this resource block.

See Also